## Help For Reversi

### Introduction

Welcome to the network Reversi server. The rules of Reversi are below. The commands are the same for all pbmserv games.

## THE RULES TO THE GAME OF REVERSI

### Object of the Game

The object of the game is to have the majority of your colour discs on the board at the end of the game

### A Minute To Learn

Each player takes 32 discs and chooses one colour to use throughout the game.

```     A B C D E F G H
1 . . . . . . . .
2 . . . . . . . .
3 . . . . . . . .
4 . . . . . . . .
5 . . . . . . . .
6 . . . . . . . .
7 . . . . . . . .
8 . . . . . . . .
Figure 1```

The players' first two moves initialize the center four positions with one of 2 patterns:

```            o o                      o x
x x                      x o```

A move consists of "outflanking" your opponent's disc(s), then flipping the outflanked disc(s) to your colour.

To outflank means to place a disc on the board so that your opponent's row (or rows) of disc(s) is bordered at each end by a disc of your colour. (A "row" may be made up of one or more discs).

Here's one example: White disc A was already in place on the board. The placement of white disc B outflanks the row of three black discs.

`   x o o o x`

White flips the outflanked discs and now the row looks like this:

`   x x x x x `

### Reversi Rules

1. Black always moves first.
2. If on your turn you cannot outflank and flip at least one opposing disc, your turn is forfeited and your opponent moves again. However, if a move is available to you, you may not forfeit your turn.
3. A disc may outflank any number of discs in one or more rows in any number of directions at the same time - horizontally, vertically or diagonally. (A row is defined as one or more discs in a continuous straight line ). See Figures 2 and 3.
```     A B C D E F G H       A B C D E F G H
1 . . . . . . . .     1 . . . . . . . .
2 . . . . . . . .     2 . . . . . . . .
3 . . o . . . o .     3 . . o . . . o .
4 . . x . . x . .     4 . . o . . o . .
5 . . x . x . . .     5 . . o . o . . .
6 . . x x . . . .     6 . . o o . . . .
7 . . o x o . . .     7 . . o o o . . .
8 . . . . . . . .     8 . . . . . . . .
Figure 2              Figure 3
Disc placed at C7```
1. You may not skip over your own colour disc to outflank an opposing disc. (See Figure 4).
```     A B C D E F G H
1 . . . . . . . .
2 . . . . . . . .
3 . . . . . . . .
4 . . . . . . . .
5 . . . . . . . .
6 . . . . . . . .
7 x o x o o x . .
8 . . . . . . . .
Figure 4
Disc at A7 only
outflanks disc at
B7.  No others.```
2. Discs may only be outflanked as a direct result of a move and must fall in the direct line of the disc placed down. (See Figure 5 and 6).
```     A B C D E F G H       A B C D E F G H
1 . . . . . . . .     1 . . . . . . . .
2 x . . . . . . .     2 x . . . . . . .
3 o . . . . . . .     3 x . . . . . . .
4 o o o x . . . .     4 x o o x . . . .
5 x . . . . . . .     5 x . . . . . . .
6 . . . . . . . .     6 . . . . . . . .
7 . . . . . . . .     7 . . . . . . . .
8 . . . . . . . .     8 . . . . . . . .
Figure 5              Figure 6
Disc placed at A2     Only flips A3-A4```
3. All discs outflanked in any one move must be flipped, even if it is to the player's advantage not to flip them at all.
4. A player who flips a disc which should not have been turned may correct the mistake as long as the opponent has not made a subsequent move. If the opponent has already moved, it is too late to change and the disc(s) remain as is.
5. Once a disc is placed on a square, it can never be moved to another square later in the game.
6. If a player runs out of discs, but still has an opportunity to outflank an opposing disc on his or her turn, the opponent must give the player a disc to use. (This can happen as many times as the player needs and can use a disc).
7. When it is no longer possible for either player to move, the game is over. Discs are counted and the player with the majority of his or her colour discs on the board is the winner.

NOTE: It is possible for a game to end before all 64 squares are filled.