estevaofon / shell-flappy-bird

A flapbird in terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ‘พ About

This code is a simple game in Python using the curses library. The game involves a bird that the user controls, and pipes that the bird must avoid or else the game ends. The screen size is set based on the maximum size of the terminal window the user is using. The pipes are generated randomly and move across the screen from right to left. Users can make the bird move upwards by pressing the space bar. The score is displayed at the top of the screen, and the game ends if the bird collides with the pipes or goes out of bounds. Finally, the game over message is displayed and the user can end the game by pressing the 'q' key.

๐Ÿ”ง Requirements

To install the necessary dependencies, run the following command:

pip install -r requirements.txt

๐Ÿƒ Usage

, you would run the code in the terminal by typing the following command:

python .\flappybird.py

๐Ÿ™‹ Contribution

All contributions are welcome! Please open an issue or submit a pull request.

About

A flapbird in terminal

License:MIT License


Languages

Language:Python 100.0%