ConsoleFlappy is a simple, terminal-based clone of the popular game Flappy Bird, written in C++. The game is designed to run in UNIX-like terminal environments, including Linux and macOS. Players control a bird, attempting to navigate it through a series of obstacles without colliding.
- Simple terminal graphics using ncurses.
- Compatible with both Linux and macOS.
- Has a gameover screen.
- Be able to restart the game without needing to recompile/re-run the program
Before installing and running ConsoleFlappy, ensure you have the following installed:
- A C++ compiler (g++ or clang)
Run the following command:
curl -o- https://raw.githubusercontent.com/RealConrad/console-flappy/main/scripts/setup_cflappy.sh | bash
The script executed above will add an alias for you. So just run:
cflappy
Clone the repository:
git clone https://yourrepositorylink.com/ConsoleFlappy.git
cd ConsoleFlappy
Compile the program:
make
Run the game
./ConsoleFlappy
- Spacebar: Make the bird flap
- Q: Quit the game
MIT (see license tab)