Story of the game

This is my very first game that I ever made! It was originally made in pygame zero, but after some time I decided to distribute it, so I tried using pygbag with a new version in pygame, but I failed. A lot of times. So, a few days ago, I learned the basics of JavaScript and remade the game from scratch in this language and I ended up with this.

How to play

The game is very simple: you are the cannon at the center and you have to move left and right using the arrow keys to avoid (and destroy) the rocks that come from the sides while bouncing. Every rock color means a different thing: the dark gray ones are small or normal, based on their dimension. The green rocks give a permanent buff to the player and raise his damage by a randomly chosen number. The red rocks add more (or less) points: it can go from a very high number to even a negative one!

If you want to pause the game, just press "P" on your keyboard and the game will freeze until you press the key again. When you lose, you can press the Exit button to return to the menu or you can press the spacebar to play again.

Note: it is completely normal that the exit and Options buttons in the menu don't do anything: they are still WIP and the Exit one is even useless for a web game, but I felt that they would look great in the menu.

If you want to see the upcoming updates or the source code, you can check my repository on GitHub. If you have any ideas, bug reports, or more general suggestions, feel free to comment here or on the repository. If you are a dev, you can also make a pull request. Please note that this is a non-profit hobby project, so contributions are completely voluntary and there are no financial rewards. Also, make sure that any code or assets you submit belong to you and are not subject to third-party copyrights. If your pull request is approved and ready to go, I will implement it and add you to the credits for your contribution.

Leave a comment

Log in with itch.io to leave a comment.