A fast-paced 2D browser-based car racing game where you dodge obstacles, collect points, and use special powerups to survive as long as possible.
- Simple Gameplay: Navigate your car to avoid obstacles and collect coins
- Multiple Control Options: Play using keyboard arrows or mouse controls
- Dynamic Difficulty: Game gets progressively harder with increased speed and more lanes
- Powerup System:
- 🛡️ Shield: Protects your car from one collision
- ⏱️ Slow Motion: Slows down obstacles to give you more reaction time
- 🧲 Point Magnet: Attracts coins to your car within a certain radius
- Persistent Scoring: Total score accumulates across games, allowing you to purchase powerups
- Click the "Start Game" button to begin
- Choose your preferred control method:
- Keyboard Controls: Use arrow keys to move your car
- Mouse Controls: Move your mouse to position the car
- Avoid obstacles and collect coins to increase your score
- Use powerups strategically to survive longer
- Game ends when your car collides with an obstacle (unless you have an active shield)
-
Purchase Powerups (between games):
- Shield (100 points): Click the Shield button or press
Z - Slow Motion (200 points): Click the Slow Motion button or press
X - Point Magnet (300 points): Click the Point Magnet button or press
C
- Shield (100 points): Click the Shield button or press
-
Activate Powerups (during gameplay):
- Shield: Click the Shield button or press
1 - Slow Motion: Click the Slow Motion button or press
2 - Point Magnet: Click the Point Magnet button or press
3
- Shield: Click the Shield button or press
No installation required! This is a web-based game that runs directly in your browser.
- Clone the repository:
git clone https://github.com/varunbudati/Crash_Car.git
- Open
index.htmlin your web browser to play
- HTML5 Canvas for rendering
- CSS3 for styling
- Vanilla JavaScript for game logic
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Varun Budati
Future improvements might include:
- Mobile touch controls
- High score leaderboard
- Additional powerups and obstacles
- Multiple car options
- Sound effects and background music
Enjoy the game and feel free to contribute to the project!
