The balloon game is a fairly simple game, with only 200 lines of code.
-
To run the game by first type
cd ~/<the directory of the game>
into your terminal window. Then, typepython3 balloon.py
. -
To play the game, use the left and right arrow keys to manuver the hot air balloon around the rapidly firing bullet bills. Every time a bullet goes off the screen(aka. successfully avoided), you get one point. Once a bullet hits you and your balloon pops, your final score is displayed, along with a 'GAME OVER' message and a comment on how good you did.
balloon.py:
- tkinter
- random
- time
- math