# 5 in a Row/Printable version

The current, editable version of this book is available in Wikibooks, the open-content textbooks collection, at
https://en.wikibooks.org/wiki/5_in_a_Row

# Gomoku

| Pente →
Description: Gomoku is a relatively easy game for two players. It consists of a 15 x 15 board and two sets of player pieces (one set for each player). Generally there is a set of black pieces and a set of white pieces; the 'black player' makes the first move.
Aim: to get five of one's pieces in a row (horizontal, vertical, or diagonal)
Rules: players alternate turns, players may not make more than one move in one turn, players may not skip their move during their turn.
Gameplay: (optional) after black makes his/her second move, white may choose to play as black. (note: this is the only time in the game where players may swap the colour of their pieces)

# Pente

← Gomoku | Renju →
Description: Pente is unlike a lot of n in row games in that it also involves capturing pieces
Aim: to get five of ones pieces in a row OR to capture 5 sets of opponent pieces
Rules: During their turn, a player places a stone of their color onto the board. If the stone is horizontally, vertically or diagonally adjecent to an opponent's stone and is opposite of a corresponding stone, the opponent's stone is captured.
Gameplay: White moves first (unlike Gomoku and Renju), and players alternate turns.

## Variations of Pente

Pente+/-
When a player captures a set of pieces, they may choose to add this to their set of captured pieces or subtract the capture from their opponent's set of captures.

# Renju

← Pente | Wuziqi →
Description:
What you need to play
Renju is played on a grid of black lines (usually 19×19) which is a classic Go grid. Game pieces, called stones, are played on the lines' intersections.
Aim:
* Black: to get exactly 5 pieces in a row, without making any forbidden moves
* White: to get 5 or more pieces in a row, or to force Black to make a forbidden move
Rules: players alternate turns, players may not make more than one move in one turn, players may skip their move during their turn.
Gameplay:
Opening sequence:
* The Black player plays the first three moves. They do this by placing the first black piece, then they (still the black player) place the first white piece, then the second black piece.
* The current White player then is permitted to choose to become the new Black player, if he or she finds the opening situation particularly disadvantageous for White. (Note: This ensures the original Black player does not intentionally play a poor first move for White.)
* The new White player (and the White player for the rest of the game) places the second white piece on the board.
* The new Black player (and the Black player for the rest of the game) places two black pieces on the board. White is essentially given a choice between two potential black moves. White chooses which of the two moves the Black player may make, and the rejected potential move is removed from the board.
* White plays his or her next move, and the game continues as in the rules above.

# Wuziqi

← Renju |
Description: Wuziqi is the Chinese name for the board game known as Gomoku in Japanese, although the board doesn't have to be 15x15 (it could be infinite).
Aim: to get five of one's pieces in a row
Rules: Players alternate turns, players may not make more than one move in one turn, players may skip their move during their turn.
Gameplay: Either Black or White may make the first move (This decision is up to the players).