Skip to content

codespace555/CarGame

Repository files navigation

#CarGame

This is a simple car game built using HTML, CSS, and Vanilla JavaScript. In this game, you control a blue car using the arrow keys and navigate it through a road while avoiding collisions with enemy cars. Click to Link to see Demo (https://mycargame.netlify.app) Demo Video

How to Play

  • Hit Space Key To Start Game
  • Alt text
  • Use the arrow keys (up, down, left, right) to control the movement of the car.
  • Alt text
  • Navigate the car through the road while avoiding collisions with enemy cars.
  • Alt text
  • Your score increases as you progress. Try to achieve the highest score possible!

Getting Started

To run the game locally, follow these steps:

  1. Clone this repository to your local machine:

  2. Open the index.html file in your web browser.

  3. Use the arrow keys to control the car and play the game.

Project Structure

The project structure is as follows:

  • index.html: HTML file containing the structure of the game.
  • styles.css: CSS file containing styles for the game elements.
  • script.js: JavaScript file containing the game logic.
  • README.md: This file providing information about the project.

Credits

This game was created by CodeSpace555.

Netlify Status

About

This is a simple car game built using HTML, CSS, and Vanilla JavaScript. In this game, you control a blue car using the arrow keys and navigate it through a road while avoiding collisions with enemy cars. Click to Link to see Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors