Skip to content

amirali-abdossamadi/Ball-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Ball Game

#instagram : @amirali.aaa_

This is a simple and fun ball game created using Pygame. The objective is to navigate the ball to avoid various obstacles that appear on the screen. As you successfully pass obstacles, your score increases, and the game speed accelerates. The game continues until a collision occurs.

Features

  • Ball Navigation: Control the ball to jump and fall to avoid obstacles.
  • Obstacle Types: Includes different types of obstacles such as circles, rectangles, and triangles.
  • Scoring System: Score points by successfully passing obstacles.
  • Dynamic Difficulty: Game speed increases as you pass more obstacles.
  • Game Over Screen: Displays score and time played when the game is over.
  • Restart Option: Ability to restart the game from the Game Over screen.

Controls

  • Up Arrow Key: Make the ball jump.
  • Down Arrow Key: Make the ball fall.

Installation

  1. Ensure you have Python installed. You can download it from Python's official website.

  2. Install the Pygame library using pip:

    pip install pygame

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages