This is a very simple sample script, to illustrate the data that is passed back by the puzzle.
You can take the fields passed back and use them to create a high score table, or just use them to tell the player how well they did.
The fields are returned as POST variables...
Name | Description | Value |
---|---|---|
puz | This is the id as defined in your puzzle definition file. | |
turns | How many turns it took to complete. | |
timesecs | The time it took to complete in seconds (useful for calculations). | |
time | The time it took to complete, as a readable string. |