Chapter 4. Main Window

Table of Contents

Go board
File Menu
Game Menu
Variation Menu
Setup Menu
Settings Menu
Window Menu
Help Menu

Go board

Clicking on an empty field in the Go board plays a move there. In setup mode, score mode or after certain analyze commands clicking on a field has a special meaning (see Setup mode, Score and Chapter 8, Analyze Commands).

If Show cursor is enabled in the Settings menu, then fields can be selected using the keyboard by moving the cursor (the red square corners) with the cursor keys to the target field and pressing Enter. Holding Shift while pressing a cursor key moves the cursor to the next handicap line in this direction or to the edge of the board.

File Menu

New Game

Start a new game.

Open

Open a game from a file in SGF format.

Note

Only a subset of the SGF definition is supported. Most notably removing stones and game collections are not supported. Setup stones are always translated to play commands for the Go program which differs from the SGF standard for setup stones that would lead to illegal Go positions. Unknown SGF properties are preserved if the game is saved to a file again.

Open Recent

Open a game from a list of recently used files.

Save

Save the current game to a file. If the file name ending is sgf, the game is saved in SGF format. If the file name ending is tex, the game is exported to LaTeX using the PSGO style.

Save Position

Save the current position to a file. If the file name ending is sgf, the game is saved in SGF format. If the file name ending is tex, the game is exported to LaTeX using the PSGO style. When exporting to LaTeX, some board markups from analyze commands are also exported (string labels, marked and selected points).

Print

Print the current position. A screen shot of the current board including all markups from analyze commands is printed.

Attach Program

Attach a Go program (if none is attached yet) to the current game at the current position.

Detach Program

Detach currently attached Go program from game and terminate the Go program.

Quit

Quit GoGui.

Game Menu

Info

Edit the game information. Changes to the komi and rules are transmitted to the Go program. The only supported rules are "Chinese" and "Japanese". The program is informed about the rules by a scoring_system area/territory (from an early draft of GTP version 2) if it supports this command.

Size

Change the board size and start a new game.

Handicap

Set the number of handicap stones.

Computer Color

Choose what side the Go program plays.

Pass

Do a pass move.

Computer Play

Make the computer play a move.

Interrupt

Interrupt the command that is currently running. This menu item is only active if a lengthy command (like move generation) is running and the Go program supports interrupting (see Chapter 5, Interrupting Commands).

Beginning

Retract all moves.

Backward 10

Retract 10 moves.

Backward

Retract a moves.

Forward

Replay a move.

Forward 10

Replay 10 moves.

End

Replay all moves.

Go To

Go to a certain move number.

Score

Score the current game. A window will be opened containing score information. First the Go program will be asked what stones are dead with the final_status_list dead command. Dead stones are marked with a cross-hair. If the Go program does not support this command or you don't agree with it, you can change the status of stones by clicking on them. You leave score mode by closing the score window. If you close the score window by pressing the Ok button, the score will be included in the file if you save the game as an SGF file later.

Variation Menu

Next Variation

Go to the next variation.

Previous Variation

Go to the previous variation.

Make Main Variation

Make the current variation to the main variation.

Delete Side Variation

Delete all variations except for the main variation.

Keep Only Position

Delete all variations and create a new game tree with the current position as setup stones.

Truncate

Truncate the current variation beginning at and including the current node.

Setup Menu

Setup mode

Enter or leave setup mode. In setup mode you can place or remove stones of the current color. The current color can be changed with the Black and White menu item from the Setup menu.

Note

Setting up a position is not reversible. After leaving setup mode you are in a new game starting with the current position and the current color to move.

Black

Set the current color for setting up stones and to current color to move to Black.

White

Set the current color for setting up stones and to current color to move to White.

Settings Menu

Beep After Move

Beep after each computer move. With most versions of Java the PC speaker is used for the beep.

Show Cursor

Show cursor on board to allow clicking on fields with the Enter key.

Show Last Move

Mark the last move with a red circle.

Window Menu

Game Tree

Show the game tree window or bring it to front, if already open.

Analyze

Open the Analyze dialog or bring it to front, if already open.

GTP Shell

Open the GTP shell window or bring it to front, if already open.

Help Menu

Contents

Open a window with the online help.

About

Show the version of GoGui.