Skip to content

Instantly share code, notes, and snippets.

@Ignition
Last active December 28, 2015 15:16
Show Gist options
  • Save Ignition/736cb34a0454b45bc5a7 to your computer and use it in GitHub Desktop.
Save Ignition/736cb34a0454b45bc5a7 to your computer and use it in GitHub Desktop.
10 x 10 puzzle
Rules: fill a 10x10 grid using the following rules
1) each sqaure contains one number
2) each number from 1 to 100 is written once
3) 1 can start anywhere
4) position of the n+1th number either
- 3 squares away along row/column from the nth square
- 2 squares away along a diagonal from the nth square
eg.
_ _ _ ? _ _ _
_ ? _ _ _ ? _
_ _ _ _ _ _ _
? _ _ X _ _ ?
_ _ _ _ _ _ _
_ ? _ _ _ ? _
_ _ _ ? _ _ _
The following 5x5 solution can be used to fill a 10x10
24, 8, 1, 23, 9
3, 14, 11, 6, 15
19, 22, 25, 18, 21
12, 7, 2, 13, 10
4, 17, 20, 5, 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment