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" - changes speed button "Won't catch me". You have 3 speed min, mid, max.
- min - Button "Won't catch me" movement speed is not fast and move only the x-axis.
- mid - Button "Won't catch me" movement speed is fast and move only the x-axis.
- 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 "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" 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.
- If speed min - You get 1 score.
- If speed mid - You get 2 score.
- If speed max - You get 3 score.
This project version-2 my last project - https://github.com/DenisGas/Runaway-button-v1
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