Breakout is a ball game where you try moving the paddle to bounce the ball to the blocks. When the ball hits a block, the block disappears. The more y

MatthewTamYT / Breakout

submited by
Style Pass
2021-07-23 12:00:07

Breakout is a ball game where you try moving the paddle to bounce the ball to the blocks. When the ball hits a block, the block disappears. The more you bounce, the easier it starts to get since there would be less blocks. Win the game by eliminating all blocks. You will lose when the ball misses the paddle and goes below.

I used Python 3.9 because it is easy-to-use. It delivers my purpose through straight forward lines of code. I also used an IDE, PyCharm. This is because it has a great project management system and is friendly to beginners (like me)! Besides Python, I used a module called PyGame , which allowed me to make the game without a game engine.

I faced many challenges. I often confuse variables and loops. This caused many errors which I later fixed during the vigorous testing phase. It took a lot of time and debugging. However, I notice that there are still some bugs, so please open an issue if you find them.

Again, it depends. If you chose the first option (raw code) from above, you would need a python interpreter, then just click on run. If you chose the second one (which is the simplest if you have both Python and PyGame in my opinion), just click on the application and the game runs by itself. If you chose the last one, click on the application, allow it to make changes and all that faffle, then follow the instructions. It won't take you longer than 20 seconds to do the whole installation process.

Leave a Comment
Related Posts