Build a Mini-Chess Random Player

As a test of what you've done so far, build a program that takes turns selecting a random move for each side until the game is over. To do this, you will have to write a game_over method for State—this is not too hard. Display the state after each move. Run it a few times and make sure that it does not crash and that it seems to be making legal moves.

prev index next