CoinCollector is a simple Pygame-based 2D game where you move a robot, collect coins, avoid monsters, and try to reach the door. Monsters move randomly each turn, adding challenge to the game.
- Arrow Keys – Move
- F2 – New game
- ESC – Quit
- Collect all coins to win.
- Reach the door after collecting all coins to finish the game.
- Touching a monster ends the game.
- Going to the door without all coins quits the game.
pip install pygame
git clone https://github.com/Yuxin29/CoinCollector.git
cd CoinCollector
python src/coincollector.py