3 ms·
I first found it helpful to see how many moves it takes a knight to jump from one square to another by looking at the vertical and horizontal axes: |
by tartoran 7y ago
I first found it helpful to see how many moves it takes a knight to jump from one square to another by looking at the vertical and horizontal axes:
| 2
| 3
| 2
| 3
|2 3 2 3 K 3 2 3
| 3
| 2
| 3
Then by looking at the diagonals:
|4 2 4
| 2 3 2
| 4 2 4
| 2 3 2
|2 3 2 3 K 3 2 3
| 2 3 2
| 4 2 4
| 2 3 2
|
|
Finally looking at the map:
|
|8| 4 3 2 3 2 3 2 3
|7| 3 2 3 4 1 2 1 4
|6| 4 3 2 1 2 3 2 1
|5| 3 2 3 2 3 K 3 2
|4| 4 3 2 1 2 3 2 1
|3| 3 2 3 4 1 2 1 4
|2| 4 3 2 3 2 3 2 3
|1| 3 4 3 2 3 2 3 2
| +----------------
| a b c d e f g h