A Pygame-based river adventure game where you navigate a boat down a river, collecting coins while avoiding obstacles.
river_adventure_game.py
: Main game file containing all game logicassets/
: Directory containing game imagesboat.png
: Player's boat imagestone.png
: Obstacle imagecoin.png
: Collectible coin imagemagnet.png
: Power-up that attracts coinsbackground.png
: River background image
- Run the game:
python river_adventure_game.py
- Use LEFT and RIGHT arrow keys to navigate the boat
- Collect coins to increase your score
- Avoid hitting stones
- Collect magnets to attract nearby coins
You can easily customize the game by adding your own images to the assets/
folder:
- Create your own images with the following names:
boat.png
stone.png
coin.png
magnet.png
background.jpg
- Place them in the
assets/
folder - The game will automatically use your images
If any image is missing, the game will fall back to using colored shapes as placeholders.
- Boat navigation
- Obstacle avoidance
- Coin collection
- Magnet power-up that attracts coins
- Score tracking
- Game over screen with restart option