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.
forked from vershwal/Moving-Square-Game
-
Notifications
You must be signed in to change notification settings - Fork 1
abhayvershwal/Moving-Square-Game
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 86.9%
- HTML 9.4%
- CSS 3.7%