gomoku
Play the Gomoku game
SYNOPSIS
gomoku
DESCRIPTION
The gomoku command is a simple text-based implementation of the Gomoku (also known as Five in a Row) game for Linux. It allows a user to play against a basic AI opponent. The game is played on a 19x19 board, where the objective is to be the first player to get five of their stones in a row horizontally, vertically, or diagonally. The command provides a minimal interface, displaying the board in the terminal and prompting the user for their move coordinates. It is a lightweight, no-frills way to enjoy a quick game of Gomoku without requiring a graphical environment.
The game is simple in terms of controls. Just enter the coordinates of the move.
The AI is rather simplistic and does not offer any specific difficulty levels.
CAVEATS
The AI is very basic, making it easy to win. There are no options to adjust the board size or AI difficulty.
GAMEPLAY
The game starts with an empty 19x19 board. The user plays as 'X', and the computer plays as 'O'. To make a move, enter the row and column coordinates (e.g., '9 9') separated by a space. The game continues until one player gets five in a row or the board is full.
BOARD REPRESENTATION
The game board is represented using text characters in the terminal. Empty spaces are represented by '.', user's stones by 'X', and computer's stones by 'O'.
HISTORY
The history of this specific `gomoku` command is not well documented. Similar Gomoku games have existed on various computer systems for a long time, making it difficult to pinpoint the exact origins of this particular version.
Gomoku itself is a very old game originating from Japan.
SEE ALSO
xboard(1), gnuchess(1)