Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gkaszewski/flappy_bird_console
https://github.com/gkaszewski/flappy_bird_console
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gkaszewski/flappy_bird_console
- Owner: GKaszewski
- Created: 2024-02-06T03:06:00.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-02-06T03:07:36.000Z (10 months ago)
- Last Synced: 2024-02-06T04:26:17.159Z (10 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flappy Bird Console
This is a simple console-based implementation of the popular game Flappy Bird.
## Crates Used
- [rand](https://crates.io/crates/rand): A crate for generating random numbers.
- [console_engine](https://crates.io/crates/console_engine): A simple terminal framework to draw things and manage user input.
- [byteorder](https://crates.io/crates/byteorder): Library for reading/writing numbers in big-endian and little-endian.## How to Build and Run
1. Make sure you have Rust installed on your system. If not, you can download it from the official Rust website: [https://www.rust-lang.org/](https://www.rust-lang.org/)
2. Clone this repository to your local machine.
3. Open a terminal and navigate to the project directory.
4. Build the project using the following command:
`cargo build --release`
5. Go to target/release and run `flappy_bird_console`## How to play?
Space - jump
Escape - pause
Enter - start the game
Q - quit## License
MIT