Skip to content

varunbudati/Crash_Car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crash Car

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.

NVIDIA_Overlay_7eRSC2l8lE

Features

  • 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

How to Play

  1. Click the "Start Game" button to begin
  2. Choose your preferred control method:
    • Keyboard Controls: Use arrow keys to move your car
    • Mouse Controls: Move your mouse to position the car
  3. Avoid obstacles and collect coins to increase your score
  4. Use powerups strategically to survive longer
  5. Game ends when your car collides with an obstacle (unless you have an active shield)

Powerup Controls

  • 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
  • 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

Installation

No installation required! This is a web-based game that runs directly in your browser.

  1. Clone the repository:
git clone https://github.com/varunbudati/Crash_Car.git
  1. Open index.html in your web browser to play

Technologies Used

  • HTML5 Canvas for rendering
  • CSS3 for styling
  • Vanilla JavaScript for game logic

License

This project is licensed under the MIT License - see the LICENSE file for details.

Creator

Created by Varun Budati

Roadmap

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!

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors