Welcome to the 2D Car Racer game, where you navigate a car through an endless road, avoiding obstacles and earning points. The game features a simple interface with controls for moving the car left and right while dodging incoming obstacles.
- Simple Controls: Move the car left and right using the arrow keys.
- Obstacle Avoidance: Dodge obstacles that spawn randomly on the road.
- Score Tracking: Earn points as you avoid obstacles. The score increases over time.
- Game Over Screen: The game ends when the car collides with an obstacle or goes off-road.
- Arrow Left: Move the car left.
- Arrow Right: Move the car right.
- Enter: Start or restart the game.
- Escape: Exit the game.
- Start the Game: Press Enter on the main menu to start playing.
- Move the Car: Use the left and right arrow keys to move the car on the road.
- Avoid Obstacles: Dodge obstacles that appear randomly on the road.
- Game Over: If the car collides with an obstacle or goes off the road, the game ends, and you can restart by pressing Enter.
- Python: The game is developed using Python and the Pygame library.
- Pygame: Used for rendering graphics, handling user input, and playing background music.
Enjoy playing the 2D Car Racer! 🚗💨