The Odin Project - Knight Moves Assignment

All the magic is in the console.

Simply use the following command to find a Knight's path across a chess board from and to any given space.

knightMoves([fromX, fromY], [toX, toY]);
    

Board layout (for reference only, this assignment has no UI requirement)

7
6
5
4
3
2
1
0
0
1
2
3
4
5
6
7