- Author: Graham Mitchell
- Filename: Reversi.java
Download the following code, and get it to compile.
Make a program that plays Reversi. Wikipedia
has the rules.
What You Should Do on Your Own
Assignments turned in without these things will receive
- Start by making it so that if the piece is played in a legal location,
the pieces between are flipped.
- Then make it so that you can only play where it is legal.
- Finally, code it so that when one player has no legal moves,
the other player gets to keep playing. The game should stop when the
board is full or when neither player has any legal moves.
©2013 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.