Skip to content

DeenankSharma/car-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Gotta Dodge'em All
I have built a simple yet functional game using HTML,CSS and vanilla JS
The game's logic is as follows :
The aim is to dodge the incoming obstacles by arrow keys and for each obstacle you dodge, a point is earned. When your car crashes into an obstacle the game is over and the user has the options to either go back to home screen ,reset the game or store his/her points in localstorage
As this was my first time using animations and sound effects in a project, therefore i tried my best and has also provided bg music on/off option.
Alongwith, a tutorial is also provided at the start of the game for the first time players
I plan to add much better animations like changing the image of the car to a broken one upon collision, have a better and pleasing UI and most importantly, make it compatible for all screen sizes.
Hope you have a great expirience! (i would currently recommend to play the game on full desktop screen and open console to to see records)

Sources Used :

  • W3 schools and MDN for documentaion
  • Stack Exchange and Chat GPT (for a little debugging :) and syntax)
  • dcode and brocode yt channels for learning

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published