Trashfall Game is an addictive 2D arcade game developed using Python and Pygame. The objective of the game is to catch falling trash to increase your score while avoiding game over. The game is simple yet challenging, making it fun for players of all ages.
- Simple and addictive gameplay.
- Randomly generated falling trash.
- Score tracking and game-over detection.
- Sound effects and background music.
- High score leaderboard.
To install and run the Trashfall Game, follow these steps:
- Ensure you have Python installed on your system. You can download it from here.
- Clone the repository:
git clone https://github.com/AntonAshraf/TrashFall-game.git
- Navigate to the project directory:
cd TrashFall-game
- Install the required dependencies:
pip install -r requirements.txt
- Run the game:
python main.py
- Use the arrow keys to move the player left and right.
- Catch the falling trash to increase your score.
- Every 10 collected trash gets an extra life.
- Avoid missing the trash, as it will lead to game over.
- The game gets progressively harder as you catch more trash.
- The game ends when the player misses three pieces of trash (and extra lives if have).
This project is licensed under the MIT License. See the LICENSE file for more details.