Code edit (1 edits merged)
Please save this source code
User prompt
F1 Reflex Lights
Initial prompt
We have a 5 lights ( formula1 start lights ) lights turn ln order. Then at a random time they all turn green. When we touch the screen, the time after the green light turns on should be displayed (in seconds and seconds, for example 1.134). If it is pressed before the green light is on, a warning should be given and there should be a button to restart the game. After the specified time, another notification will appear and it can be restarted.
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});