There is no "best way" to approach game development. What I propose here is my personal vision, and there are countless other ways to do it. It's up to you to find the approach that suits you.
Keep in mind that creating a game in pure JavaScript without any tools is a challenging task. The game designed for this book is very simple and requires few advanced techniques.
If you want to tackle a more ambitious project, it is preferable to rely on existing tools, such as PIXI.js, Phaser, or Babylon.js, to name a few.
By the way, PIXI.js will be the subject of the next book!
The final word
The source code of this website is fully available on GitHub. Feel free to use it for your own projects if this approach inspires you.
We do not keep any record of your visit to this site. We do not collect any personal data. This is a deliberate choice on our part.
However, your feedback would be greatly appreciated. To do so, our favorite communication channel is our Discord server, so feel free to drop by!
Discover more about us on the Perky Crow website.
Thank you for following along with this little adventure to the end.