Skip to content

DenisGas/RunAwayButton-V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RunAwayButton-V2

Game page

Game rule

After pressing the start button, you start the game from score 0 and speed min. On game page 3 buttons are "Speed", "Score" and "Won't catch me".

The button "Speed"

The button "Speed" - changes speed button "Won't catch me". You have 3 speed min, mid, max.

  1. min - Button "Won't catch me" movement speed is not fast and move only the x-axis.
  2. mid - Button "Won't catch me" movement speed is fast and move only the x-axis.
  3. max - Button "Won't catch me" movement speed is fast and move the x and y axis.

To change the speed click the button "Speed", you need to enter the speed in the window that appears, or just press ok - then the speed will change from lower to higher in a circle.

The button "Score"

The "Score" button - shows how many score you have earned and how many times you have won at different speeds.

The button "Won't catch me"

The button "Won't catch me" changes its color when you hover over it with the cursor and immediately runs away and so on until you click on it, after which you get some score depending on speed.

  1. If speed min - You get 1 score.
  2. If speed mid - You get 2 score.
  3. If speed max - You get 3 score.

Preview:

Project illustration

History

About project

This project version-2 my last project - https://github.com/DenisGas/Runaway-button-v1

Future

I want to link the game to the database and make a registration so that the points do not disappear after the page is restarted