For a piece of JS code, what are the "time" and "step number" variables? How to pass the variable to PHP! This is a "puzzle" code from the Internet. I feel pretty good. I embedded him into my PHP homepage. when a small application, of course, is expected to complete the game successfully, I can pass two variables of "time" and "step number" and then output them to the user. However, in this section of JS code, what are the variables of "time" and "step number? How to pass the variable to PHP!
This is a "puzzle" code from the Internet. I feel pretty good, so I embedded him into my PHP homepage, as a small application.
Of course, I hope that when the game is successfully completed, the two variables "time" and "step number" will be passed out and then output to the user.
But this JS code cannot be understood.
So let's ask, what are the "time" and "number of steps" variables? How to pass the PHP variable again!
HTML code
JS replay _ classic board game Timing:00: 00 Steps:0 Entry mode Simple Mode Normal mode Difficult mode Ultra-hard mode View source images