Develop a program that will allow a human to move the knight around a chessboard. The program
Fantastic news! We've Found the answer you've been seeking!
Question:
Develop a program that will allow a human to move the knight around a chessboard. The program should:
1. Place the knight somewhere on the chessboard (either a random or predetermined space)
2. Print the chessboard to the console
3. Prompt the user to enter one of the 8 possible moves
4. Determine if the move is valid
5. If the move is valid, then perform the move
6. Repeat Steps 2 - 5 until either the entire chessboard has been traversed, or there are no valid moves remaining.
Related Book For
Artificial Intelligence A Modern Approach
ISBN: 978-0137903955
2nd Edition
Authors: Stuart J. Russell and Peter Norvig
Posted Date: