Note again that this game doesn’t work on mobile or tablet currently as it uses the mouse for control 🙂
So once again this is a fairly simple clone of a classic arcade game. In fact all the projects in the How to Program Games: Tile Classics in JS for HTML5 Canvas are based on classic arcade titles, but you won’t hear any complaints from me! I love doing this kinda thing! 🙂
I’m really enjoying the course and it is lots of fun to learn while completing projects which actually do something so you can demonstrate your work to others.
The only downside I will mention is that it’s easy to just fall into writing/copying down the code without really listening to or understanding the concepts and reasoning behind the code. Because I already have some knowledge of coding it’s all been fairly straight forward for me so far but I can see I’ll need to ensure I concentrate on the theory as well as the actual code when working through the next project.
A couple of things I might add to this in the future:
- sound effects for the various collisions
- a better win screen instead of just resetting as it does currently
- a database back end to record high scores/time taken/number of attempts etc
- port to iOS/Android
- responsive design and handle touch input
- change the color and layout of the bricks to create different levels
- add bad bricks which you need to avoid
- add lives to allow for multiple attempts before a restart
- create a version with an infinite playing space and increase the speed of the ball as the player progresses
Let me know in the comments if you have other things you might suggest for this game or other games you’d like to see made.