This is a documentation for Board Game Arena: play board games online !

Gamehelpgomoku: Difference between revisions

From Board Game Arena
Jump to navigation Jump to search
No edit summary
(added inline css for improved readability)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Gameplay ==
== Gameplay ==
Gomoku, also called Five in a Row, is an abstract strategy board game. It is traditionally played with Go pieces on a Go board.


Players alternate turns placing a stone of their color on an empty intersection. Black plays first.
Gomoku, also called Five in a Row, is an abstract strategy board game. It is traditionally played with a <b>[[Gamehelpclassicgo|Go]]</b> board and stones.


The winner is the first player to form an unbroken chain of five stones horizontally, vertically, or diagonally.
Players alternate turns placing a stone of their colour on an empty intersection. Black plays first.
<div style="display:flex; flex-flow:row wrap;">{{blackStone}}{{whiteStone}}</div>
 
The winner is the first player to form a line of exactly five consecutive stones horizontally, vertically, or diagonally.


== Options ==
== Options ==


'''Default options are bolded.''' ''Training mode only options are in italic type.''
<div style="display:flex;flex-flow:row wrap;max-width:max-content;border:0.1rem solid #aaa;">
<div style="box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;width:max-content;">Training mode only</div>
<div style="box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;width:max-content;">Default</div>
<div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;width:max-content;">Other</div>
</div>


=== Board size ===
=== Board size ===


* ''9x9'': Small board size for quick and casual games.
<div style="display:flex;flex-flow:row wrap;max-width:max-content;border:0.1rem solid #aaa;">
 
<div style="box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;">9x9{{goboard9 | squareSize=10 | starSize=0 | hideNotation=}}</div>
* 13x13
<div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">13x13{{goboard13 | squareSize=10 | starSize=0 | hideNotation=}}</div>
 
<div style="box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;">15x15{{goboard15 | squareSize=10 | starSize=0 | hideNotation=}}</div>
* '''15x15''': Standard Gomoku board size.
<div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">19x19{{goboard19 | squareSize=10 | starSize=0 | hideNotation=}}</div>
 
</div>
* 19x19: Standard Go board size.


=== Variant ===
=== Variant ===
Line 24: Line 29:
Winning conditions of a game are displayed above the game board.
Winning conditions of a game are displayed above the game board.


* '''Standard''': To win, form an unbroken chain of EXACTLY five stones horizontally, vertically, or diagonally. Forming a line of six or more stones DOES NOT WIN the game.
<div class=winning conditions" style="display:grid;max-width:50rem;border:0.1rem solid #aaa;">
 
<div  style="grid-area: 1 / 1 / 2 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Variant</div>
* Caro: To win, form an unbroken chain of five stones horizontally, vertically, or diagonally that is not blocked at either end. Forming a line of six or more stones also wins the game regardless of blocked ends.
  <div  style="grid-area: 1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Description</div>
 
<div  style="grid-area: 2 / 1 / 3 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;font-weight:bold;">Standard</div>
* Freestyle: To win, form an unbroken chain of five or more stones horizontally, vertically, or diagonally.
  <div  style="grid-area: 2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;">Align <b>exactly 5</b> stones in a row horizontally, vertically, or diagonally.
Forming a line of six or more stones does <b>not</b> win the game.</div>
<div  style="grid-area: 3 / 1 / 4 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Freestyle</div>
  <div  style="grid-area: 3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">Align <b>at least 5</b> stones in a row horizontally, vertically, or diagonally.</div>
<div  style="grid-area: 4 / 1 / 5 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Caro</div>
  <div  style="grid-area: 4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">Either:
# Align <b>exactly 5</b> stones in a row horizontally, vertically, or diagonally that is not blocked at either end
# Align <b>more than 5</b> stones in a row horizontally, vertically, or diagonally, regardless of blocked ends</div>
</div>


=== Opening rule ===
=== Opening rule ===
Line 34: Line 47:
The first three options are unavailable in ranked games due to first player advantage.
The first three options are unavailable in ranked games due to first player advantage.


* ''None'': The game starts without any opening restrictions.
<div class=winning conditions" style="display:grid;max-width:50rem;border:0.1rem solid #aaa;">
 
<div style="grid-area:1 / 1 / 2 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Opening Rule</div>
* ''Pro''
<div style="grid-area:1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Description</div>
:- The first stone of the first player must be placed in the center of the board.
<div style="grid-area:2 / 1 / 3 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;font-weight:bold;">None</div>
:- The first stone of the second player may be placed anywhere on the board.
<div style="grid-area:3 / 1 / 4 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;font-weight:bold;">Pro</div>
:- The second stone of the first player must be placed at least three intersections away from the first stone.
<div style="grid-area:4 / 1 / 5 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;font-weight:bold;">Long Pro</div>
 
<div style="grid-area:5 / 1 / 6 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Swap</div>
* ''Long Pro''
<div style="grid-area:6 / 1 / 7 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;font-weight:bold;">Swap 2</div>
:- The first stone of the first player must be placed in the center of the board.
<div style="grid-area:2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;">The game starts without any opening restrictions.</div>
:- The first stone of the second player may be placed anywhere on the board.
<div style="grid-area:3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;">The first stone of the first player must be placed in the centre of the board.
:- The second stone of the first player must be placed at least four intersections away from the first stone.
The first stone of the second player may be placed anywhere on the board.
 
The second stone of the first player must be placed at least <b>three</b> intersections away from the first stone.</div>
* Swap
<div style="grid-area:4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:#fef;padding:0.5rem;">The first stone of the first player must be placed in the centre of the board.
:- The first player places three stones, two black and one white, anywhere on the board.
The first stone of the second player may be placed anywhere on the board.
:- The second player then chooses which color to play as.
The second stone of the first player must be placed at least <b>four</b> intersections away from the first stone.</div>
:- Play proceeds from there as normal with white playing their third stone.
<div style="grid-area:5 / 2 / 6 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">The first player places <b>three</b> stones, two black and one white.
 
The second player then chooses which colour to play as.
* '''Swap2'''
Play proceeds from there as normal with white playing their second stone.</div>
:- The first player places three stones on the board, two black and one white.
<div style="grid-area:6 / 2 / 7 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;">The first player places <b>three</b> stones, two black and one white.
:- The second player then has three options:
The second player then has three options:
:# choose to play as black
# choose to play as black
:# choose to play as white and place a second black stone
# choose to play as white and place a second white stone
:# place two more stones, one white and one black, and pass the choice of which color to play back to the first player
# place two more stones, one white and one black, and pass the choice of which colour to play back to the first player.</div>
 
</div>
=== Player preference options ===
 
Open upper right menu from game screen or click 'Options' tab below the game board to access these preference options.
 
==== Display confirmation ====
 
* Enabled: Confirm button is displayed after placing the stone. The player must confirm the move to execute it. Red buttons are irreversible.
 
* '''Disabled''': Every move except swap2's first two stones, swap's first three stones, and swap2's fourth stone from the third choice are irreversible.
 
==== Highlight last move ====
 
* '''Enabled''': The last move is highlighted as an orange border.
 
* Disabled: The last move is not highlighted.


==== Display coordinates ====
=== Player preferences ===


* '''Enabled''': The coordinates are displayed around the game board.
Open the top-right menu from the game screen or use the 'Options' tab below the game board to access these preference options.


* Disabled: The coordinates around the game board are not displayed.
<div class=winning conditions" style="display:grid;max-width:50rem;border:0.1rem solid #aaa;">
<div style="grid-area:1 / 1 / 2 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Preference</div>
<div style="grid-area:1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;font-weight:bold;">Description</div>
<div style="grid-area:2 / 1 / 4 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;font-weight:bold;">Display confirmation</div>
<div style="grid-area:4 / 1 / 6 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;font-weight:bold;">Highlight last move</div>
<div style="grid-area:6 / 1 / 8 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;font-weight:bold;">Display coordinates</div>
<div style="grid-area:2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">Enabled: Confirm button is displayed after placing a stone.
The player must confirm to complete their move.
Red buttons are irreversible.</div>
<div style="grid-area:3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;">Disabled: Cannot undo any move except:
* swap: first three stones
* swap 2: first two stones and the fourth stone from the third choice
:: see [[#Opening_rule|Opening rule]]</div>
<div style="grid-area:4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;">Enabled: The last move is highlighted with a small orange red colour.</div>
<div style="grid-area:5 / 2 / 6 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">Disabled</div>
<div style="grid-area:6 / 2 / 7 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#efe;padding:0.5rem;">Enabled</div>
<div style="grid-area:7 / 2 / 8 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff;padding:0.5rem;">Disabled</div>
</div>

Latest revision as of 21:18, 18 December 2021

Gameplay

Gomoku, also called Five in a Row, is an abstract strategy board game. It is traditionally played with a Go board and stones.

Players alternate turns placing a stone of their colour on an empty intersection. Black plays first.

The winner is the first player to form a line of exactly five consecutive stones horizontally, vertically, or diagonally.

Options

Training mode only
Default
Other

Board size

9x9
13x13
15x15
19x19

Variant

Winning conditions of a game are displayed above the game board.

Variant
Description
Standard
Align exactly 5 stones in a row horizontally, vertically, or diagonally. Forming a line of six or more stones does not win the game.
Freestyle
Align at least 5 stones in a row horizontally, vertically, or diagonally.
Caro
Either:
  1. Align exactly 5 stones in a row horizontally, vertically, or diagonally that is not blocked at either end
  2. Align more than 5 stones in a row horizontally, vertically, or diagonally, regardless of blocked ends

Opening rule

The first three options are unavailable in ranked games due to first player advantage.

Opening Rule
Description
None
Pro
Long Pro
Swap
Swap 2
The game starts without any opening restrictions.
The first stone of the first player must be placed in the centre of the board.

The first stone of the second player may be placed anywhere on the board.

The second stone of the first player must be placed at least three intersections away from the first stone.
The first stone of the first player must be placed in the centre of the board.

The first stone of the second player may be placed anywhere on the board.

The second stone of the first player must be placed at least four intersections away from the first stone.
The first player places three stones, two black and one white.

The second player then chooses which colour to play as.

Play proceeds from there as normal with white playing their second stone.
The first player places three stones, two black and one white.

The second player then has three options:

  1. choose to play as black
  2. choose to play as white and place a second white stone
  3. place two more stones, one white and one black, and pass the choice of which colour to play back to the first player.

Player preferences

Open the top-right menu from the game screen or use the 'Options' tab below the game board to access these preference options.

Preference
Description
Display confirmation
Highlight last move
Display coordinates
Enabled: Confirm button is displayed after placing a stone.

The player must confirm to complete their move.

Red buttons are irreversible.
Disabled: Cannot undo any move except:
  • swap: first three stones
  • swap 2: first two stones and the fourth stone from the third choice
see Opening rule
Enabled: The last move is highlighted with a small orange red colour.
Disabled
Enabled
Disabled