For a piece of JS code, what are the "time" and "step number" variables? How to pass to PHP variables

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.