This project is a simple car game developed with Python and Pygame. The player controls a car that must avoid obstacles while accumulating points. The game gets progressively challenging as the speed of the car and obstacles increases over time.
• Simple Gameplay: Control the car to avoid obstacles.
• Increasing Difficulty: The game speeds up as the player scores more points.
• Collision Detection: The game ends when the car hits an obstacle.
• Score Display: Real-time score tracking on the screen.
• Python 3.x
• Pygame Library: Used for game development and graphics handling.
- Clone the repository:
clone https://github.com/Oanekrif/Py-Game.git
- Navigate to the project directory:
cd Py-Game
- Install Pygame (if not already installed):
pip install pygame
- Run the game script:
python Py-Game.py
• Move Left: Press the Left Arrow key.
• Move Right: Press the Right Arrow key.
• Objective: Avoid the green obstacles and score as many points as possible.
• Add more levels with increasing difficulty.
• Include sound effects and background music.
• Implement power-ups or bonuses for the player.
Contributions are welcome! Feel free to fork the repository, create feature branches, and submit pull requests.