#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.
- 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.
- Up Arrow Key: Make the ball jump.
- Down Arrow Key: Make the ball fall.
-
Ensure you have Python installed. You can download it from Python's official website.
-
Install the Pygame library using pip:
pip install pygame