Skip to content

Fruit Catcher is an arcade game built with Pygame where players catch falling fruits and avoid obstacles. Features include dynamic gameplay, sound effects, and scalable graphics. Perfect for Python enthusiasts exploring game development concepts like collision detection and sprite handling.

Notifications You must be signed in to change notification settings

root-sarvesh/Fruit-Catcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Fruit-Catcher

Fruit Catcher is an arcade game built with Pygame where players catch falling fruits and avoid obstacles. Features include dynamic gameplay, sound effects, and scalable graphics. Perfect for Python enthusiasts exploring game development concepts like collision detection and sprite handling.

Fruit Catcher

Fruit Catcher is a fun and interactive arcade game developed using Python and Pygame. The objective of the game is to catch falling fruits to score points while avoiding obstacles. This project demonstrates core game development concepts, including sprite handling, collision detection, and sound integration.

Features

  • Dynamic Gameplay: Difficulty increases as the game progresses.
  • Interactive Audio: Background music and sound effects enhance the gaming experience.
  • Custom Graphics: Scalable sprites and engaging visuals.
  • Game Over Mechanics: Clear feedback when the player loses.

How It Works

  1. Objective: Move the character using keyboard controls to catch falling fruits.
  2. Scoring: Each fruit caught increases your score.
  3. Challenges: Avoid bombs or obstacles that end the game.
  4. Progression: Game difficulty increases with time.

Technologies Used

  • Python: Core programming language.
  • Pygame: Library for game development.
  • External Assets: Custom sound effects, music, and sprite graphics.

Installation

  1. Clone the repository:
    git clone https://github.com/Shivaprakash-NP/Fruit-Catcher.git
  2. Navigate to the project directory:
    cd fruit-catcher
  3. Install the required modules:
    pip install pygame
  4. Run the game:
    python main.py

Modules and Libraries

  • Pygame: Handles graphics, sounds, and game loop mechanics.
  • OS/Random (Built-in): Used for managing assets and randomizing gameplay elements.

Functionality

  • Sprite Handling: Uses Pygame's Surface and Rect objects to manage game characters and fruits.
  • Collision Detection: Checks for interactions between the player and falling fruits or obstacles.
  • Audio Integration: Plays background music and sound effects based on in-game events.
  • Scaling and Resizing: Dynamically adjusts sprite sizes for a consistent visual experience.

Game Flow

  • Start Screen: Displays the game's title and instructions.
  • Gameplay: The player controls the character to catch fruits while avoiding obstacles.
  • Game Over Screen: Shows the final score and an option to restart.

Future Enhancements

  • High Score System: Track and display the highest scores.
  • Multiplayer Mode: Add a local multiplayer option.
  • Power-Ups: Introduce special items that grant temporary abilities.

Acknowledgements

  • The Pygame community for resources and inspiration.
  • Online asset libraries for providing free-to-use sound effects and sprites.

About

Fruit Catcher is an arcade game built with Pygame where players catch falling fruits and avoid obstacles. Features include dynamic gameplay, sound effects, and scalable graphics. Perfect for Python enthusiasts exploring game development concepts like collision detection and sprite handling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published