Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for gomoku (netbsd section 6)

GOMOKU(6)				 BSD Games Manual				GOMOKU(6)

     gomoku -- game of 5 in a row

     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      Run in batch mode.  (See below.)

     -c      Computer versus computer.	gomoku will play a game against itself.  This is mostly
	     used for testing.

     -d      Print debugging information.  Repeating this option more than once yields more
	     detailed information.

     -D debugfile
	     Print the debug information to debugfile instead of to the standard output.

     -u      User versus user.	(Play against yourself.) This is mostly used for testing.

	     Load a previously saved game from savefile.

     With 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.

   Batch mode
     Batch mode was intended for game tournaments where a referee program handles the board dis-
     play and pits one program against another.  In this mode, 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.

     Ralph Campbell

     The board display routines were based on the goref program written by Peter Langston.  The
     user interface was based on Eric S. Raymond's interface for bs.

BSD					  March 28, 2010				      BSD

All times are GMT -4. The time now is 05:23 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password