A terminal-based ascii flappy bird game with AI.
🔴 Note: This game will work only on a Windows system because of some Windows-specific libraries used.
- Download the project using Git or otherwise.
- Run
birdgame.cpp
using a compiler that supports C++14.
- On startup screen, choose an option by pressing
1
or2
or3
. - When in single player mode, press
spacebar
to jump. - In AI mode you can only watch the AI play:
- At any time, there are at most 2 pipes on screen.
- The bird only moves vertically while the pipes move horizontally to the left.
pipe[0]
always denotes the index of the pipe closest to the bird. Once this pipe is behind the bird, it is removed from screen and a new one is created.
- Add flapping wings to bird.
- Add different difficulty modes (vary gap between pipes, speed of bird, ...)