A fun and addictive 2D Car Racing Game built using Pygame.
Dodge incoming cars, rack up points, and test your reflexes in this simple yet engaging arcade-style game.
(Add your screenshots in a folder named screenshots/
and update the paths below)
- 🚗 Smooth player car movement using arrow keys
- 🎵 Sound effects for crashes and background music
- 🎲 Random enemy cars appearing dynamically
- 🏆 Score tracking to challenge yourself
- ⚡ Lightweight and beginner-friendly
git clone https://github.com/Abhishek-DS-ML-Gupta/Game.git
cd Game
Copy code
python -m venv venv
venv\Scripts\activate # On Windows source venv/bin/activate # On Linux/Mac
Make sure you have Python 3.8+ installed.
Copy code
pip install -r requirements.txt
bash Copy code python main.py ⌨️ Controls ← Left Arrow → Move car left
→ Right Arrow → Move car right
Esc → Quit the game
Copy code
Game/
│── cars/ # Car sprites (player and enemy cars)
│── fonts/ # Custom font files
│── sounds/ # Sound effects (crash, background music, etc.)
│── main.py # Main game logic
│── requirements.txt # Dependencies
│── README.md # Project documentation
📦 Dependencies
Python 3.8 or higher
Abhishek Gupta 📧 [email protected] 🔗 GitHub Profile