posted 12 years ago
the prof is asking me to do this
Create an alternate KtR that solves knight's tour problem for an 8 by 8 board by randomly picking a move from 0 to 7 and if legal make the move. If not legal, try doing this 100 times and if no legal moves after 100 tries abort the game as a failure.
If you make 64 moves print the board.
i modify the the start method instead of giving the number in sequence it will random some the sequence number, but other two questions im not sure about it