Skip to content

vladimirvikulin/Car-Racing-Game

Repository files navigation

Сar-Racing

Overview

Car Racing Game is a two-player racing game where players must dodge enemies to score points. The objective is to accumulate the highest score over three rounds. Players can choose different cars, each with unique speeds, from the garage.

Features

  • Two-player mode: Compete against a friend.
  • Multiple car options: Choose from four different cars with varying speeds.
  • Dynamic gameplay: The speed of the game increases as players score points, introducing new challenges.
  • Informative menus: Easy navigation through menus for starting the game, accessing the garage, and viewing game instructions.

Controls

  • Player 1:

    • Move: W, A, S, D
  • Player 2:

    • Move: Arrow Keys
  • Start Game: Choose option Start on the main menu.

Installation

To run the game locally, follow these steps:

  1. Clone the repository to your local machine
$  git clone https://github.com/vladimirvikulin/Car-Racing-Game.git
  1. Navigate to the project directory in your terminal or command prompt
  2. To run the project
$ .\index.html