HTML and CSS Reference
In-Depth Information
Figure 13-2
Preview of the Hanjie Puzzle page
click to sel e ct a puzzle
image hint
difficulty level
hidden cells
click to preview
the solution
click to view the
complete solution
Rebecca already has created three puzzles and stored them as multidimensional arrays
in the grids.js file saved under the variable names puzzle1 , puzzle2 , and puzzle3 . Hints
and difficulty ratings for the puzzles have been stored in variables named puzzle1Hint
through puzzle3Hint , and puzzle1Rating through puzzle3Rating . Figure 13-3 shows the
variable values for the first puzzle.
Search WWH ::

Custom Search