Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner

A simple game where you have to slide left and right by tapping the screen to avoid the white blocks falling down and score points by collecting the green ones. If you want to play it click here or go on https://rolanddaum.github.io/SlideMiniGame/.

The original game idea came from this YT-Shorts video. I just copied everything I saw in the video and remade it. Props to the guy who made the video.

Code

It all runs with plain JavaScript with a little of HTML and CSS. As much as I can remember since doing this almost a year ago, is that the cubes are falling in a linear function calculated path. If you want to know anything else about the game engine/mechanic, feel free to have a look inside the /game.js file. Most functions are commented, so it's hopefully fairly easy to understand.

About

Avoid the falling blocks and collect the green ones

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages