- Code: Select all
+----+----+----+----+----+----+----+----+
| | | | 39 | | | | |
+----+----+----+----+----+----+----+----+
| | | 57 | 18 | | | | 20 |
+----+----+----+----+----+----+----+----+
| 16 | 59 | 40 | 51 | | 1 | | 3 |
+----+----+----+----+----+----+----+----+
| | | 63 | | | | | 54 |
+----+----+----+----+----+----+----+----+
| | | | 45 | 64 | 55 | | 25 |
+----+----+----+----+----+----+----+----+
| | | 61 | 30 | | 28 | | |
+----+----+----+----+----+----+----+----+
| | | 34 | | | | | |
+----+----+----+----+----+----+----+----+
| 35 | | 13 | 32 | | | 11 | |
+----+----+----+----+----+----+----+----+
To complete the suggested board we have only one solution:
- Code: Select all
+----+----+----+----+----+----+----+----+
| 58 | 17 | 42 | 39 | 52 | 19 | 2 | 23 |
+----+----+----+----+----+----+----+----+
| 41 | 38 | 57 | 18 | 43 | 22 | 53 | 20 |
+----+----+----+----+----+----+----+----+
| 16 | 59 | 40 | 51 | 56 | 1 | 24 | 3 |
+----+----+----+----+----+----+----+----+
| 37 | 46 | 63 | 60 | 29 | 44 | 21 | 54 |
+----+----+----+----+----+----+----+----+
| 62 | 15 | 50 | 45 | 64 | 55 | 4 | 25 |
+----+----+----+----+----+----+----+----+
| 47 | 36 | 61 | 30 | 33 | 28 | 7 | 10 |
+----+----+----+----+----+----+----+----+
| 14 | 31 | 34 | 49 | 12 | 9 | 26 | 5 |
+----+----+----+----+----+----+----+----+
| 35 | 48 | 13 | 32 | 27 | 6 | 11 | 8 |
+----+----+----+----+----+----+----+----+
Also consider the following 6*6 board:
- Code: Select all
+----+----+----+----+----+----+
| 7 | | 21 | 28 | 1 | 12 |
+----+----+----+----+----+----+
| | | | 11 | | |
+----+----+----+----+----+----+
| 9 | | | 26 | | 2 |
+----+----+----+----+----+----+
| | | | | | |
+----+----+----+----+----+----+
| 5 | | 25 | 36 | 3 | 14 |
+----+----+----+----+----+----+
| 24 | 31 | | 15 | | 35 |
+----+----+----+----+----+----+
and its solutin:
- Code: Select all
+----+----+----+----+----+----+
| 7 | 10 | 21 | 28 | 1 | 12 |
+----+----+----+----+----+----+
| 22 | 29 | 8 | 11 | 20 | 27 |
+----+----+----+----+----+----+
| 9 | 6 | 33 | 26 | 13 | 2 |
+----+----+----+----+----+----+
| 32 | 23 | 30 | 17 | 34 | 19 |
+----+----+----+----+----+----+
| 5 | 16 | 25 | 36 | 3 | 14 |
+----+----+----+----+----+----+
| 24 | 31 | 4 | 15 | 18 | 35 |
+----+----+----+----+----+----+
I think the following board has the minimum number of knights:
- Code: Select all
+----+----+----+----+----+----+
| | | | | | |
+----+----+----+----+----+----+
| | | | | | |
+----+----+----+----+----+----+
| | | | | | |
+----+----+----+----+----+----+
| | 35 | | 1 | | |
+----+----+----+----+----+----+
| | | | | | |
+----+----+----+----+----+----+
| 34 | 15 | 20 | | | |
+----+----+----+----+----+----+
Its solution is:
- Code: Select all
+----+----+----+----+----+----+
| 25 | 6 | 27 | 10 | 23 | 8 |
+----+----+----+----+----+----+
| 28 | 17 | 24 | 7 | 30 | 11 |
+----+----+----+----+----+----+
| 5 | 26 | 29 | 36 | 9 | 22 |
+----+----+----+----+----+----+
| 16 | 35 | 18 | 1 | 12 | 31 |
+----+----+----+----+----+----+
| 19 | 4 | 33 | 14 | 21 | 2 |
+----+----+----+----+----+----+
| 34 | 15 | 20 | 3 | 32 | 13 |
+----+----+----+----+----+----+
The following 8 x 8 board has the minimum number of knights which I have been able to produce:
- Code: Select all
+----+----+----+----+----+----+----+----+
| | | | | | 62 | | |
+----+----+----+----+----+----+----+----+
| | | | | | 5 | 34 | |
+----+----+----+----+----+----+----+----+
| | | 39 | | 61 | 36 | | |
+----+----+----+----+----+----+----+----+
| | 1 | 58 | | | | | |
+----+----+----+----+----+----+----+----+
| | | | | | 48 | 9 | |
+----+----+----+----+----+----+----+----+
| | | 14 | 53 | | 51 | | |
+----+----+----+----+----+----+----+----+
| | 16 | 43 | 20 | | 22 | | |
+----+----+----+----+----+----+----+----+
| | | 54 | | | | | |
+----+----+----+----+----+----+----+----+
with the following unique solution:
- Code: Select all
+----+----+----+----+----+----+----+----+
| 31 | 38 | 3 | 60 | 33 | 62 | 27 | 6 |
+----+----+----+----+----+----+----+----+
| 2 | 59 | 32 | 37 | 28 | 5 | 34 | 63 |
+----+----+----+----+----+----+----+----+
| 57 | 30 | 39 | 4 | 61 | 36 | 7 | 26 |
+----+----+----+----+----+----+----+----+
| 40 | 1 | 58 | 29 | 8 | 25 | 64 | 35 |
+----+----+----+----+----+----+----+----+
| 15 | 56 | 17 | 44 | 21 | 48 | 9 | 50 |
+----+----+----+----+----+----+----+----+
| 18 | 41 | 14 | 53 | 12 | 51 | 24 | 47 |
+----+----+----+----+----+----+----+----+
| 55 | 16 | 43 | 20 | 45 | 22 | 49 | 10 |
+----+----+----+----+----+----+----+----+
| 42 | 19 | 54 | 13 | 52 | 11 | 46 | 23 |
+----+----+----+----+----+----+----+----+
I implemented a desktop software for XKnight Game in visual basic and also tried to implement an online vesion in php. Unfortunately the algorrhythm I use is very slow for online implementation. Therefore I placed some sample output of the desktop version at:
http://www.saghaei.net/xknight/index.php
http://www.msaghaei.com/xknight/index.php