---
name: "gomoku"
section: "6"
platform: "linux"
package: "bsd-games"
version: "3.3-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gomoku"
---

# gomoku(6)

game of 5 in a row

## NAME

**gomoku** – game of 5 in a row

## DESCRIPTION

**gomoku** is a two player game were the object is to get 5 in a row horizontally, vertically or diagonally on a 19 by 19 grid. By convention, X always moves first. The game will display a playing board, make the first move if randomly chosen to do so, and prompt for moves from the user. Moves are entered using the cursor, moving with arrow keys or hjkl, and selecting using space. Press 'q' or F10 to end the game.

## AUTHOR

Ralph Campbell

## ACKNOWLEDGEMENTS

The board display routines were based on the **goref** program written by Peter Langston.
