| GOMOKU(6) | Games Manual | GOMOKU(6) |
gomoku —
gomoku |
[-bcdu] [-D
debugfile] [savefile] |
gomoku is a two player game where the object is to get 5
in a row horizontally, vertically or diagonally on a 19 by 19 grid. By
convention, black always moves first.
The options are:
-b-cgomoku will play a game
against itself. This is mostly used for testing.-d-D
debugfile-uWith no arguments, gomoku starts a fresh
user vs. computer game.
Moves may be entered by selecting the desired board location and pressing the space or enter key. The cursor may be moved using the arrow keys or vi(1) motion keys hjklyubn. These also may be familiar from rogue(6) and hack(6). To quit, type ‘Q’, and to save the game, type ‘S’ and supply a file name when prompted.
gomoku reads moves from standard input and writes its
responses to standard output. The first line of input should be either
“black” or “white” to specify whether
gomoku has the first move or not respectively.
goref
program written by Peter Langston. The user interface was based on Eric S.
Raymond's interface for bs.
| March 28, 2010 | NetBSD 9.1 |