B. User Manual

Othello

Installation

First, ensure that MATLAB is installed. Download othello.zip and extract it.

Usage

Copy the path of the folder called src in the extracted folder (e.g. ~/Downloads/othello/src), and enter the following into the MATLAB command window:

cd <paste-src-path-here-without-brackets>

Example:

cd ~/Downloads/othello/src

To run the game, enter Main into the MATLAB command window. A figure window containing the playing board will appear.

The rules of Othello are as follows:

  • Black moves first.
  • Each move must flank at least one of the opponent’s disks, thereby capturing them.
  • Players take turn placing disks.
  • If a player has no available moves, his/her turn is skipped.
  • The game ends when both players have no available moves.
  • The player with the most remaining disks on the board wins.

To place a disk, click on the desired space on the board. If the move is legal, the disk will be placed and the appropriate pieces will be captured. If not, nothing will happen.

If you have no available moves, a dialog box will appear saying so. Click “Ok” to continue.

When the game is over, the winner will be displayed in a dialog box. Click “Ok” to close the figure.

To quit the game at any point, simply close the figure window.