|
Chapter 4. Main Window |
||
|
|
||
Table of Contents
Clicking on an amazon selects it,
at which point you can then select the board square you wish to move it to.
Lastly, you can then select the board square to which you wish to fire its
arrow. In flood mode, clicking on a square on the board has a special meaning
(see Flood Black, Flood Gold
and Flood Arrow).
The mouse wheel can be used to go
forward and backward in the game, if the mouse pointer is located within the
board. If the shift key is pressed while the mouse wheel is used, the step size
is increased to 10 moves.
The panel on
the right side of the board shows information about the current state, like the
score, in terms of how many moves each color potentially has at the current
state of the game, and the clock. A text field exists for displaying and
editing comment text for the current position.
The tool bar
contains buttons for frequently used commands from the main menu.
The status
bar can show a text line, depending on the current state. A small queen in the
left lower corner indicates the current player to move. On the right side, the
last move and current variation is shown. As well, it also displays a
notification when you are currently in one of the flood modes.
In addition
to the accelerator keys shown in the menu, the following accelerator keys are
defined:
F5
Make the computer play for the color
currently to move.
F6
Focus the main window (if one of the utility windows
currently has the focus).
On Mac OS X, the accelerators are
defined in combination with the Apple key.
Open
Open a game from a file in SGF format. Game
collections are not supported.
Open Recent
Open a game from a list of recently used files.
Save
Save the current game to the associated file name. If the
game has no file name, this menu item acts like Save As. The file will be saved
in the SGF format.
Save As
Save the current game to a file. It will be saved in SGF
format.
Import / Text Position
Import a text position from a file. The import algorithm
can handle a variety of formats. However, only full board positions are
supported. Non-square positions will be read into the smallest containing
square board size at the top left position. Black queens can be represented by ‘B’
or ‘b’; gold queens by ‘G’, ‘g’, ‘W’, or ‘w’ (however one representation must
be used consistently); arrows are represented by ‘X’ or ‘x’; '.' is interpreted
as an empty point. Space characters are allowed between the points; leading
numbers (or '|' and '$' characters) are ignored, as well as single inserted invalid
lines (to support appended text after the row that was wrapped). If a line
contains the string "b|black|w|white|g|gold to play|move"
(case-insensitive), it will be used to set the current player in the position,
where white and gold represent the same thing.
Import / Text Position from Clipboard
Import a text position from the clipboard. Same as Import
/ Text Position, but parses the text selection copied to the clipboard.
Import / SGF from Clipboard
Import a SGF from the clipboard. Same as Open, but parses
the text selection copied to the clipboard.
Export / SGF Position
Export the current position to a file in SGF format.
Export / PNG Image
Export the current position including all markup to an
image file in PNG format. The width of the image can be specified in an input
dialog, which offers the current width of the board on the screen as the
default value. For exporting images with very small sizes, it can produce
better results to export to an image with a larger size and use an external
graphics program to downscale it using a high-quality scaling algorithm.
Export / Text Position
Export the current position as a text diagram to a file.
Export / Text Position to Clipboard
Export the current position as a text diagram to the
clipboard.
Print
Print a screen shot of the current board position,
including all markups from analyze commands.
Quit
Quit AmazonsGui.
New Game
Start a new game.
Board Size
Change the board size and start a new game, choosing from
sizes between 5 and 10, but possibly specified manually up to 25.
Game Info
Edit and view the game information.
Computer Color
Choose what side the Amazons program plays.
Clock
Halt or resume the clock.
Score the current game. A window will be opened containing
score information. This score is based on how many potential moves each player
has in the current game state.
Attach
Start a program from the list of Amazons programs and
synchronize it to the current game at the current position. If an Amazons
program was already attached, it will be terminated, before the new program is
started.
Detach
Terminate the currently attached Amazons program.
Play Single Move
Make the computer play a move, but do not change the
computer color.
Interrupt
Interrupt the command that is currently running. This
menu item is only active if a lengthy command (like move generation) is running
and if the Amazons program supports interrupting (see Chapter 10,
Interrupting Commands).
New Program
Add a new Amazons program to the list of available
Amazons programs. The name field should contain a label for the Attach menu.
The command field should contain the command to run the Amazons program.
Edit Programs
Edit the list of available Amazons programs.
Beginning
Go to the start position of the current game.
Backward 10
Go backward ten moves.
Backward
Go backward one move.
Forward
Go forward one move.
Forward 10
Go forward ten moves.
End
Go to end of the current variation.
Go to Move
Go to a certain move number in the current variation.
Next Variation
Go to the next variation.
Previous Variation
Go to the previous variation.
Next Earlier Variation
Go to the next variation earlier in the game tree.
Previous Earlier Variation
Go to the previous variation earlier in the game tree.
Back to Main Variation
Go back to the main variation.
Go to Variation
Go to the first node of a certain variation.
Find in Comments
Find the next game node containing a search pattern in
its comment text. The search is case insensitive. The pattern is a regular
expression as used by the java.util.regex.Pattern class, similar to Perl syntax.
Find Next
Find the next game node containing the last entered
search pattern.
Make Main Variation
Make the current variation to the main variation.
Delete Side Variations
Delete all variations except for the main variation. This
item is only enabled if the current node is in the main variation.
Keep Only Position
Delete all variations and create a new game tree with the
current position as setup stones in the root node.
Truncate
Truncate the current variation beginning at and including
the current node. The current position will change to the father node of the
current node in the game tree.
Truncate Children
Truncate all child variations of the current node.
Enter black flood mode or exit black flood mode, changing
the player whose turn it is to black. In black flood mode, you can place or
remove black queens, including placing them on currently occupied squares.
Enter gold flood mode or exit gold flood mode, changing
the player whose turn it is to gold. In gold flood mode, you can place or
remove gold queens, including placing them on currently occupied squares.
Enter arrow flood mode or exit arrow flood mode, leaving
the color whose turn it currently is the same. In arrow flood mode, you can
place or remove arrows, including placing them on currently occupied squares.
Toolbar
Show or hide the toolbar.
Info Panel
Show or hide the game information panel at the right side
of the board.
Cursor
Show the cursor on the board for keyboard navigation.
Grid Labels
Show grid labels for board columns and rows.
Last Move
Mark the last move with a gray dot.
Variation Labels
Mark the first moves of all variations from this position
with letters starting with 'A' ('*' will be used after 'Z'). If multiple
variations start with the same move, a '>' is appended.
Play Sound
Beep after each computer move. Some versions of Java use
the PC speaker for the beep, and some generate the sound using the sound card.
Monospace Comment Font
Use a fixed-width font in the comment field.
Tree / Labels
Configure the labels on the tree nodes.
Tree / Size
Configure the size of the tree nodes.
Tree / Subtree Sizes
Show the number of nodes in the subtree for nodes that
are not expanded. Showing the subtree size can slow down the updating of the
game tree window if large trees are edited.
Shell / Popup Completions
Popup a window with command completions when entering a
command.
Shell / Auto Number
Automatically
number ATP commands. Note that some Amazons programs don't comply to the ATP
standard and do not support commands with a numerical ID. They will usually
answer with "Unknown command", because they try to parse the ID as a
command.
Shell / Timestamp
Prepend each sent command and received response in the
ATP shell window with a time stamp.
Add Bookmark
Add a new bookmark.
Edit Bookmarks
Edit the list of bookmarks.
Tree Viewer
Show the game tree window.
Analyze Commands
Show a window to select analyze commands (see Chapter 7, Analyze
Commands).
ATP Shell
Show the ATP shell window.
Restart the current Amazons program and synchronize it to
the current game at the current position again.
Like Reattach Program, but
saves the current program parameters to a temporary ATP file and restores them
after the program was reattached (see Save Parameters).
If the program is dead but a parameter snapshot exists, it will be reattached
with the parameter snapshot.
Like Save Parameters, but automatically
saves to a temporary file that can be restored during the current session with Restore Parameters. This command is useful for
developers who want to debug a crash of the program (which does not allow to
use Reattach With Parameters, because the
program must still be alive when running this command).
See Snapshot Parameters.
Saves a ATP file for restoring the current state of all
parameters from all analyze commands of type "param" (see Chapter 7, Analyze
Commands). To restore the parameters, use the Send File or Send Recent menu
items.
Save Log
Save the ATP streams to a log file.
Save Commands
Save the sent ATP commands to a file.
Send ATP commands from a file to the engine. This can be used
to send a file containing ATP commands that configure parameters of the engine.
The file is not allowed to contain any ATP command that change the board state.
All commands are expected to succeed, sending will be aborted with an error
message if a command fails.
Send ATP commands from a recently opened file to the
engine. See Send File.
AmazonsGui Help
Open a window for browsing the AmazonsGui documentation.
About
Show the version and other information for AmazonsGui,
the Java platform, and the currently attached Amazons program.
|
|
||
|
Chapter 3. Compatibility |
Chapter 5. Game Tree Window |