MichaelEWalker87 / RaceCar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Retro Star Wars Race Car Game

Author

Michael Walker

Introduction:

This was a course from Udemy that covered the basics of tile game building. The application allows for two players to race each other in an old retro gaming fashion. Upon winning the race the game will reset. The purpose of this application was to get practice with the HTML5 Canvas Element and Vanilla Javascript. This game is a two player game with player one being in an X-Wing and player two in the Y-Wing.

Play The Game Here

link to game

Controls:

The vehicle can not turn when fully stopped If a player hits a wall it will reverse the vehicle

w=move forward Y-Wing d= move right Y-Wing s= move backward Y-Wing a= move left Y-Wing

up arrow=move forward X-Wing right arrow = move right X-Wing down arrow= move backward X-Wing left arrow= move left X-Wing

Note Player one/X-Wing controlls can overlap with audio controlls

Installation:

  1. Fork this repository:

  2. Clone your forked repository git clone and the copied URL

  3. Change into the directory and install the project dependencies cd into the directory and run npm install for dependencies In the terminal project root directory run "npm start"

  4. Open application on loaclhost

Photos of Game Play:

In Game Racing

In Game Racing

X-Wing Wins!

About


Languages

Language:JavaScript 88.3%Language:HTML 5.9%Language:CSS 5.5%Language:PHP 0.3%