string puzzle.GetPuzzleID()
Get the ID Number of the puzzle.
V1 Function Name
New to V2

puzzle.GetPuzzleID returns the numeric identifier for the current puzzle.

The code:

print ( "puzzle id: " .. puzzle.GetPuzzleID () )

might produce the output:

puzzle id: 2004548

The puzzle id is padded on the left with zeroes to 10 spaces, and used to name a subdirectory of the puzzles directory for the current Foldit client, for example:


This subdirectory is used to save solution files.

The puzzle id (without padding) is also the "node" of the puzzle page on the Foldit website, for example:
Community content is available under CC-BY-SA unless otherwise noted.