Skip to content

Fruit Catcher is a fun Python game where players catch fruits and avoid bombs using a bucket. Built with Pygame, it features a scoring system, sound effects, and an interactive menu.

Notifications You must be signed in to change notification settings

nberdi/Fruit-Catcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍎 Fruit Catcher - Pygame

An interactive game developed using Python and Pygame. Players control a bucket to catch falling fruits while avoiding bombs. Each time a fruit is caught, the player earns points. The goal is to collect as many fruits as possible while avoiding bombs and maintaining lives.

🚀 Getting Started

These instructions will help you set up and play the game on your local machine.

1. Clone the Repository

Clone this repository to your local system:

git clone https://github.com/nberdi/Fruit-Catcher.git

2. Install Requirements

Ensure you have Python and Pygame installed. You can install Pygame with the following command:

pip install pygame

or

pip3 install pygame

3. Run the Game

After installation, execute the game script:

python game.py

🕹️ Game Features

  • Main Menu:
    • Start Button: Begin the game.
    • Rules Button: Displays the game instructions.
  • Sound Options:
    • Background music with the option to mute.
  • Gameplay:
    • Catch fruits to earn points and listen for a coin sound effect.
    • Avoid bombs. Catching a bomb will cost you a life and trigger a bomb sound.
    • Missing a fruit will cost a life, and a life-lost sound will play.
    • The game ends when all 3 lives are lost.
  • Game Over Screen:
    • Appears when the game ends.
    • Options to Restart or Quit the game.
  • Sound Effects:
    • Bomb Sound: Plays when a bomb is caught.
    • Life-Lost Sound: Plays when you lose a life.
    • Coin Sound: Plays every time you earn points.
  • Visuals:
    • Designed with a light green background for an appealing look.

Contact

Feel free to reach out via:

About

Fruit Catcher is a fun Python game where players catch fruits and avoid bombs using a bucket. Built with Pygame, it features a scoring system, sound effects, and an interactive menu.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages