GOMOKU(6) BSD Games Manual GOMOKU(6)NAME
gomoku -- game of 5 in a row
SYNOPSIS
gomoku [-bcdu] [-D debugfile] [inputfile]
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,
black always moves first. With no arguments, gomoku will display a playing board and prompt for moves from the user. Valid moves are a let-
ter for the column and a number for the row of an empty board location. Entering ``quit" or ``resign" will end the game. You can save the
current state of the game by entering ``save" and supplying a file name when prompted. The optional file inputfile can be used to restore a
saved game.
The options are:
-b This option sets background mode. Input moves are read from standard input, the computer picks a move, and prints it to standard
output. The first input line should be either ``black" or ``white" to specify whether gomoku has the first move or not respectively.
This option was intended for game tournaments where a referee program handles the board display and pits one program against another.
-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. This is mostly used for testing.
AUTHOR
Ralph Campbell
ACKNOWLEDGEMENTS
The board display routines were based on the goref program written by Peter Langston.
BSD August 4, 1994 BSD
Check Out this Related Man Page
GOMOKU(6) BSD Games Manual GOMOKU(6)NAME
gomoku -- game of 5 in a row
SYNOPSIS
gomoku [-bcdu] [-D debugfile] [savefile]
DESCRIPTION
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.
savefile
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 display 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.
AUTHORS
Ralph Campbell
ACKNOWLEDGEMENTS
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
hello
i'm looking for a unix based software program to create a message board on a speciality car related website i am donating my time to develop.
since i am a mac person with only javascript knowledge, no unix i need a very easy to admin. application. free or cheap.
thanks
james (2 Replies)
I know this may not be the right forum, but here goes.
Last night I was playing my favorite game Everquest and my monitor goes blank... I was able to save out of my game and shut it down...
My question is this: I thought my monitor had died but this morning I was able to get it to come back... (6 Replies)
Hi everyone!
I am new to the board and new to Unix. Getting used to it but still have alot of trouble with it.
I need to write a program that generates factorial of a number by input of the user. It should be an input between 1 and 10 and check to see if it is within a range. I should also... (1 Reply)
inputfile:
A B C D
E F G H
1 2 3 4
-----------
I want to read these and put them into a variable:
file=../inputfile
col2line1=`cat $file | awk '{print $2}'`
how do i extract row 2's E,F,G,H or row 3's 1,2,3,4???
I tried the search, didn't get much, maybe i suck at searching too... (4 Replies)
Hi!
I am a newbie to Unix. I was writing a little game program for fun when thought of an idea to allow data to be saved. I knew to take all of the Predefined variables and put them into a separate file, then including the file in the program. But I am having trouble making it so that the user... (0 Replies)