This is a documentation for Board Game Arena: play board games online !
Gamehelpgomoku: Difference between revisions
Sammy McSam (talk | contribs) added inline css for improved readability |
Sammy McSam (talk | contribs) m translucent background color for dark mode |
||
| Line 11: | Line 11: | ||
<div style="display:flex;flex-flow:row wrap;max-width:max-content;border:0.1rem solid #aaa;"> | <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:# | <div style="box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;padding:0.5rem;width:max-content;">Training mode only</div> | ||
<div style="box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;padding:0.5rem;width:max-content;">Default</div> | ||
<div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:# | <div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;width:max-content;">Other</div> | ||
</div> | </div> | ||
| Line 19: | Line 19: | ||
<div style="display:flex;flex-flow:row wrap;max-width:max-content;border:0.1rem solid #aaa;"> | <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:# | <div style="box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;padding:0.5rem;">9x9{{goboard9 | squareSize=10 | starSize=0 | hideNotation=}}</div> | ||
<div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:# | <div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;">13x13{{goboard13 | squareSize=10 | starSize=0 | hideNotation=}}</div> | ||
<div style="box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;padding:0.5rem;">15x15{{goboard15 | squareSize=10 | starSize=0 | hideNotation=}}</div> | ||
<div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:# | <div style="box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;">19x19{{goboard19 | squareSize=10 | starSize=0 | hideNotation=}}</div> | ||
</div> | </div> | ||
| Line 30: | Line 30: | ||
<div class=winning conditions" style="display:grid;max-width:50rem;border:0.1rem solid #aaa;"> | <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:# | <div style="grid-area: 1 / 1 / 2 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;font-weight:bold;">Variant</div> | ||
<div style="grid-area: 1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:# | <div style="grid-area: 1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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:# | <div style="grid-area: 2 / 1 / 3 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;padding:0.5rem;font-weight:bold;">Standard</div> | ||
<div style="grid-area: 2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="grid-area: 2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;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> | 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:# | <div style="grid-area: 3 / 1 / 4 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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:# | <div style="grid-area: 3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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:# | <div style="grid-area: 4 / 1 / 5 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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:# | <div style="grid-area: 4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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>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> | # Align <b>more than 5</b> stones in a row horizontally, vertically, or diagonally, regardless of blocked ends</div> | ||
| Line 48: | Line 48: | ||
<div class=winning conditions" style="display:grid;max-width:50rem;border:0.1rem solid #aaa;"> | <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:# | <div style="grid-area:1 / 1 / 2 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;font-weight:bold;">Opening Rule</div> | ||
<div style="grid-area:1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:# | <div style="grid-area:1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;font-weight:bold;">Description</div> | ||
<div style="grid-area:2 / 1 / 3 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:# | <div style="grid-area:2 / 1 / 3 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;padding:0.5rem;font-weight:bold;">None</div> | ||
<div style="grid-area:3 / 1 / 4 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:# | <div style="grid-area:3 / 1 / 4 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;padding:0.5rem;font-weight:bold;">Pro</div> | ||
<div style="grid-area:4 / 1 / 5 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:# | <div style="grid-area:4 / 1 / 5 / 2;box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;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:# | <div style="grid-area:5 / 1 / 6 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;font-weight:bold;">Swap</div> | ||
<div style="grid-area:6 / 1 / 7 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="grid-area:6 / 1 / 7 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;padding:0.5rem;font-weight:bold;">Swap 2</div> | ||
<div style="grid-area:2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:# | <div style="grid-area:2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;padding:0.5rem;">The game starts without any opening restrictions.</div> | ||
<div style="grid-area:3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:# | <div style="grid-area:3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;padding:0.5rem;">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 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> | The second stone of the first player must be placed at least <b>three</b> intersections away from the first stone.</div> | ||
<div style="grid-area:4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:# | <div style="grid-area:4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #f0f;background:#f0f1;padding:0.5rem;">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 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>four</b> intersections away from the first stone.</div> | The second stone of the first player must be placed at least <b>four</b> intersections away from the first stone.</div> | ||
<div style="grid-area:5 / 2 / 6 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:# | <div style="grid-area:5 / 2 / 6 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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. | The second player then chooses which colour to play as. | ||
Play proceeds from there as normal with white playing their second stone.</div> | Play proceeds from there as normal with white playing their second stone.</div> | ||
<div style="grid-area:6 / 2 / 7 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="grid-area:6 / 2 / 7 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;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 | ||
| Line 77: | Line 77: | ||
<div class=winning conditions" style="display:grid;max-width:50rem;border:0.1rem solid #aaa;"> | <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:# | <div style="grid-area:1 / 1 / 2 / 2;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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:# | <div style="grid-area:1 / 2 / 2 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;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:# | <div style="grid-area:2 / 1 / 4 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;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:# | <div style="grid-area:4 / 1 / 6 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;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:# | <div style="grid-area:6 / 1 / 8 / 2;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;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:# | <div style="grid-area:2 / 2 / 3 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;">Enabled: Confirm button is displayed after placing a stone. | ||
The player must confirm to complete their move. | The player must confirm to complete their move. | ||
Red buttons are irreversible.</div> | Red buttons are irreversible.</div> | ||
<div style="grid-area:3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="grid-area:3 / 2 / 4 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;padding:0.5rem;">Disabled: Cannot undo any move except: | ||
* swap: first three stones | * swap: first three stones | ||
* swap 2: first two stones and the fourth stone from the third choice | * swap 2: first two stones and the fourth stone from the third choice | ||
:: see [[#Opening_rule|Opening rule]]</div> | :: see [[#Opening_rule|Opening rule]]</div> | ||
<div style="grid-area:4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="grid-area:4 / 2 / 5 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;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:# | <div style="grid-area:5 / 2 / 6 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;">Disabled</div> | ||
<div style="grid-area:6 / 2 / 7 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:# | <div style="grid-area:6 / 2 / 7 / 3;box-shadow:inset 0 0 0 0.1rem #0f0;background:#0f01;padding:0.5rem;">Enabled</div> | ||
<div style="grid-area:7 / 2 / 8 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:# | <div style="grid-area:7 / 2 / 8 / 3;box-shadow:inset 0 0 0 0.1rem #ddd;background:#fff0;padding:0.5rem;">Disabled</div> | ||
</div> | </div> | ||
Revision as of 17:05, 24 October 2026
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
Board size
Variant
Winning conditions of a game are displayed above the game board.
- Align exactly 5 stones in a row horizontally, vertically, or diagonally that is not blocked at either end
- 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.
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 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 second player then chooses which colour to play as.
Play proceeds from there as normal with white playing their second stone.The second player then has three options:
- choose to play as black
- 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 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.
The player must confirm to complete their move.
Red buttons are irreversible.- swap: first three stones
- swap 2: first two stones and the fourth stone from the third choice
- see Opening rule