Skip to content

abhayvershwal/Moving-Square-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Moving-Square-Game

This is a simple game, where the user needs to move the red square such that it does not collide with the moving obstacles. This is made in JavaScript. The file functions.js handles the logic and helps in showing the game on the canvas graphically. It basically has one prominent function called updateArea(), which is called after every 20 milliseconds, which helps in validating the movements of obstacles and the square.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.9%
  • HTML 9.4%
  • CSS 3.7%