This manual describes version 0.2 of Quarry. Copyright © 2004, 2005, 2006 Paul Pogonyshev
Permission is granted to copy, distribute and/or modify this document under the terms
of the GNU Free Documentation License, Version 1.2 or any later version published by
the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no
Back-Cover Texts. A copy of the license is included in the section entitled
“GNU Free Documentation License” or in the file
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT:
Feedback
To report a bug or make a suggestion regarding the Quarry application or this
manual, either send a message to
Table of Contents List of Figures List of Tables The Quarry application allows you to play the board games of Go, Amazons and Reversi. You can play with computer programs or with another human, and save, view and edit game records. Quarry provides the following features:
NoteQuarry itself can play neither Go, nor Amazons, nor Reversi. To have a computer opponent, you need to find a program (e.g. GNU Go mentioned above) that supports GTP and register it in Quarry. NoteQuarry does not have any support for Internet game servers and it will not be added before versions 0.3.x. Table of Contents You can start Quarry from your Applications menu, it should typically be available under → . However, this may depend on the exact way you installed the program and your operating system. Quarry can also be started from the command line. Simply type quarry in and press Return. You can also have Quarry open one or more game records immediatly after you start it. Just type
quarry in the command line and press Return. Quarry will start with specified file(s) open. Note
Filenames don’t have to end in When you start Quarry, Control Center window is displayed: The Control Center window consists of the following elements:
Table of Contents To start a new game, click the Quarry Control Center window or choose → menu item in any of the already open Board Windows. The New Game dialog will appear, where you can choose the kind of game you want and the opponents. button in theIf you want to play against a computer program, you need to register it in Quarry first (once only, of course.) To do this, click the button in the dialog. For more information, see the detailed description of New Game dialog. You can open a game record in one of three ways:
To save a game record, choose Board window (or simply press Ctrl+S.) If the game record does not yet have a filename, Quarry will display the Save As dialog. Enter the name for the file, then click the . → menu item in itsIf you want to save a game record under a different filename, choose Save As dialog and click . → menu item. Enter a name for the file in theTo register a game-playing program in Quarry, first open the Preferences dialog and select GTP Engines category in its left pane. (You can also click the button in the New Game dialog, which immediatly displays the GTP Engines category.) Then click the appeared dialog, enter the command line required to launch the program in GTP mode. You should consult the program’s manual to find out how the command line should look like. For instance, command line for GNU Go should be like this (note the double hyphens): button and, in thegnugo --mode gtp --quiet Other programs may require different options or no options at all. To adjourn a game, choose → menu item. If the game has never been saved yet, you will need to enter the name of the file you would like to store it in.Actually, adjourning differs from saving only in that it closes the game’s window. To resume a previously adjourned game, click Quarry Control Center window or select item from the menu. You will be prompted for the file that contains the game record. button in theWhen you select the file, Resuming Game Dialog pops up, where you should specify the players. Quarry will try to guess the opponents based on the data stored in the game record, but it can make a mistake in determining whether there are any computer players and which engines should play. You will always have the final say, though, and will be able to correct any mistakes. If the game you select is already finished, you will be prompted to open it for viewing and/or editing instead of resuming. Table of Contents The New Game dialog consists of two pages, Game & Players and Game Rules. When you open the dialog, the first page appears. When you click button, the second page is displayed, which is specific for each of three games—Go, Amazons and Reversi. On this page you can select one of three available games and the opponents. You can make selections in arbitrary order—first choose the game and then the opponents or the other way round. At any time, all playable combinations of games and computer players are marked with “Yes” icons, while all unplayable combinations are marked with “No” icons. The button is sensitive only when a playable combination of game and opponents is selected. NoteBefore playing against a computer program (e.g. GNU Go, you need to register it in Quarry. See GTP Engines section for how to do this. Game & Players page conists of the following controls:
On this page you can select the rules for the game. The page has two parts. The upper part is different for each of Go, Amazons and Reversi games and contains game-specific rules. The lower part contains time limit settings controls and is the same for all three games. It is described last. When you have selected the rules you want, click the button to start the game.Go has many different rule sets that differ in scoring details, treating of some special positions etc. Currently, Quarry doesn’t make any difference between them. However, existing rule controls should be enough in most cases.
See also time limit settings description. At present, Amazons rules in Quarry are limited to board size and common time limit settings. Standard board size for Amazons is 10×10 (which is also selectable with the small button to the right), but you can choose anything from 5×5 to 25×25 inclusive. Reversi rules in Quarry are limited to board size and time limit settings described just below this section. Standard board size for Reversi is 8×8, though 10×10 boards are not uncommon either. This is reflected by the choice of “traditional” board sizes with the buttons to the right. However, in Quarry you can select any even board size from 6×6 to 24×24 inclusive. Quarry allows to play games with limited time for both players. This also applies to computer program players—they have to honor the alloted time or lose. Of course the programs are properly notified about the time limit settings and the remaining time. NoteComputer opponents use CPU time to generate moves. This means that they usually need less time on faster machines and more on slower machines. Also, if you run a computationally intensive task while playing, your computer opponents may become slower. Finally, certain computer programs may also “think” on opponent’s time. Quarry has four types of time control:
The New Game Record dialog allows you to start a new game record without actually playing a game. When you are done entering game record information, press the button. Or press the button to cancel game record creation.The dialog consists of the following controls besides the mentioned buttons:
The Resuming Game Dialog allows you to specify or correct game players when resuming a game. It also shows some information about the game, most of which is not editable. You can specify both game players and fix their names, if needed. There are two radio buttons and a combo box for each player. Radio buttons control whether a player is a human or a computer (some GTP engine.) If you select to let computer control a player, you can choose any available GTP engine from the list for it. Quarry tries to guess players based on their names, as stored in the game record. Normally, if the game was adjourned in Quarry and you don’t alter computer player names, it should guess correctly. However, you can always override and correct its decision. Board windows are the main part of Quarry. They are used to play games and view and edit game records. To the left in a window is the game board itself. The exact appearance of the board depends on the current game (Go, Amazons or Reversi) and can be configured. On the right side of the window there is information pane, including the comment window. There can also be the game tree view to the bottom of the right pane. Board displays current game position, including pieces, markup, labels and variations of the current node. Coordinate labels are shown on the edges of the board. They depend on the current game. In the top-left corner a small rectangle is drawn if the board has focus. The last move made is marked. Depending on the markup theme, this can be a cross or a bullet. On the screen shot above, last placed stone at P15 is marked with a cross. NoteThis section can be improved. Quarry treats variations as siblings of the current node. This is like Jago does and unlike CGoban. You always see the current variation and it is not a potential for the next node/move. On the board, non-current variations that contain a move are shown as small ghostly pieces. Variations that don’t contain a move or contain a pass move (in Go) can be seen only in the Game Tree View. Screen shot above shows two variations—at Q18 and Q19—of the white move on the board. You can activate (switch to) a particular variation by right-clicking on the ghost stone on the board. For instance, right-clicking on Q18 in the window shown in the screen shot would make White Q18 the current move. In rare cases when there are multiple variations with the same move, right-clicking and shift-right-clicking scrolls through the list of such variations. Alternative ways of switching to different variations include using the Game Tree View and using menu items, toolbar buttons or keyboard shortcuts. Board has several keyboard shortcuts to ease game record navigation. Remember, that these shortcuts are active only if the board has focus, as indicated with a small rectangle in the top-left corner. Otherwise, you should type them with Alt modifier: more complicated shortcuts work everywhere in Board Windows. Table 3.1. Board keyboard shortcuts
Game Information Pane shows information about the game in general, about the last move made and about the current node. Some of its components are optional and can be hidden in the menu.
Game Tree View shows game record as a tree in a style used by CGoban1. Generally, it is of interest only if the game record contains variations. For instance, a debut/joseki dictionary or a well-annotated game with alternate branches. Visibility of Game Tree View is controlled with item in menu and with preferences. Node with a move of a specific player, including pass move in Go, are shown as pieces of player’s color. Other nodes, including position setup, at present lack any icon. Nodes that belong to a same branch (variation) are connected with a line and the current branch is highlighted. Current node is shown within a black rectangle. If it is not visible, you can bring it onscreen using command from the menu.Subtrees can be collapsed/expanded by right-clicking on subtree root. This is useful to hide nodes you are not interested in currently. Roots of collapsed nodes have a cross on them. If a mouse is held over a node, a tooltip with information about the node is shown. It includes move number, move itself, node name and comment. Of course, some of these can be absent from the tooltip, if they are not present in the node to begin with. If node comment is too long, only first part of it is shown. Tooltips can be disabled in preferences if they look too distracting to you.
NoteThis menu’s title is English verb “go”, not game name.
Find Dialog allows you to search for text in node names and/or comments. It is invaluable for large game records, especially those containing multiple branches, like debut/joseki dictionaries. When a node with matching text is found, board window switches to it, if needed. Matching text is selected in information pane. Search can be repeated later without opening this dialog using menu items or from keyboard. Dialog contains several controls:
The Game Information Dialog allows you to set values that describe game tree as a whole and are not specific to a particular move or position in the game. It has a lot of fields which are splitted in three pages. All fields are optional and can be empty (not set), but defining them gives additional description to the game. Fields on the first page (General) describe the game opponents, rules of the game and non-spoiling game details. Field on the second page (Description & Result) are generally spoiling and can even disclose game outcome. The third page (Game Record) describe the record itself.
Table of Contents To configure Quarry either click the button in the Control Center window or choose → menu item. The Preferences dialog is displayed. It consists of the following categories:
General interface of Quarry can be configured at this page. It is not really related to the functionality of the application.
Here you can customize appearance and behavior of the Game Tree View.
At this page, all game-playing programs registered in Quarry are shown. You can register new programs and modify information in existing entries. All registered programs are shown in the list labeled List of GTP engines. When you select one of them, some information about it is shown in the lower part of the dialog. This inlcudes program name, version, supported game(s) and command line. The command line is exactly what you specified while registering the program, while the rest of information is reported by the program itself. Programs from the list are also shown in the New Game and Resuming Game dialogs as available computer opponents. However, you can hide some of them by removing the mark beside the program name in the Show column. This may be better than removing a program record altogether in case you later regain your interest in it. Also, some GTP engines may be listed in Quarry system-wide settings; those cannot be removed, only hidden. There are also five buttons on this page:
This dialog is shown whenever you want to register a game-playing program in Quarry or modify information about an already registered one. Depending on the situation, it can be titled either New GTP Engine or Modify GTP Engine Information. After you fill in the dialog, press the or button. Quarry will launch the program to check if it works and ask it for some information. NoteIf the message “Querying engine’s name, version and known commands…” appears and persists for too long (more than a few seconds), this most likely indicates that the command line you specify starts the program in non-GTP mode or starts a wrong program to begin with. If you don’t expect the program to be very slow on initialization, then click the button and fix the command line. The dialog has two text entry fields:
Currently, you can only specify whether to save game records in UTF-8 or to preserve original encoding. The former option is recommended because UTF-8 can encode any character and because Quarry loads UTF-8 encoded game records faster than with any other encoding. However, you may want to preserve original encoding if, for instance, you use other SGF editor/viewer with poor support for UTF-8 or this is required for some reason for distribution. Version 1.2, November 2002 Copyright © 2000, 2001, 2002 Free Software Foundation, Inc. Version 1.2, November 2002
0. PREAMBLEThe purpose of this License is to make a manual, textbook, or other functional and useful document “free” in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. This License is a kind of “copyleft”, which means that derivative works of the document must themselves be free in the same sense. It complements the GNU General Public License, which is a copyleft license designed for free software. We have designed this License in order to use it for manuals for free software, because free software needs free documentation: a free program should come with manuals providing the same freedoms that the software does. But this License is not limited to software manuals; it can be used for any textual work, regardless of subject matter or whether it is published as a printed book. We recommend this License principally for works whose purpose is instruction or reference. 1. APPLICABILITY AND DEFINITIONSThis License applies to any manual or other work, in any medium, that contains a notice placed by the copyright holder saying it can be distributed under the terms of this License. Such a notice grants a world-wide, royalty-free license, unlimited in duration, to use that work under the conditions stated herein. The “Document”, below, refers to any such manual or work. Any member of the public is a licensee, and is addressed as “you”. You accept the license if you copy, modify or distribute the work in a way requiring permission under copyright law. A “Modified Version” of the Document means any work containing the Document or a portion of it, either copied verbatim, or with modifications and/or translated into another language. A “Secondary Section” is a named appendix or a front-matter section of the Document that deals exclusively with the relationship of the publishers or authors of the Document to the Document's overall subject (or to related matters) and contains nothing that could fall directly within that overall subject. (Thus, if the Document is in part a textbook of mathematics, a Secondary Section may not explain any mathematics.) The relationship could be a matter of historical connection with the subject or with related matters, or of legal, commercial, philosophical, ethical or political position regarding them. The “Invariant Sections” are certain Secondary Sections whose titles are designated, as being those of Invariant Sections, in the notice that says that the Document is released under this License. If a section does not fit the above definition of Secondary then it is not allowed to be designated as Invariant. The Document may contain zero Invariant Sections. If the Document does not identify any Invariant Sections then there are none. The “Cover Texts” are certain short passages of text that are listed, as Front-Cover Texts or Back-Cover Texts, in the notice that says that the Document is released under this License. A Front-Cover Text may be at most 5 words, and a Back-Cover Text may be at most 25 words. A “Transparent” copy of the Document means a machine-readable copy, represented in a format whose specification is available to the general public, that is suitable for revising the document straightforwardly with generic text editors or (for images composed of pixels) generic paint programs or (for drawings) some widely available drawing editor, and that is suitable for input to text formatters or for automatic translation to a variety of formats suitable for input to text formatters. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has been arranged to thwart or discourage subsequent modification by readers is not Transparent. An image format is not Transparent if used for any substantial amount of text. A copy that is not “Transparent” is called “Opaque”. Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo input format, LaTeX input format, SGML or XML using a publicly available DTD, and standard-conforming simple HTML, PostScript or PDF designed for human modification. Examples of transparent image formats include PNG, XCF and JPG. Opaque formats include proprietary formats that can be read and edited only by proprietary word processors, SGML or XML for which the DTD and/or processing tools are not generally available, and the machine-generated HTML, PostScript or PDF produced by some word processors for output purposes only. The “Title Page” means, for a printed book, the title page itself, plus such following pages as are needed to hold, legibly, the material this License requires to appear in the title page. For works in formats which do not have any title page as such, “Title Page” means the text near the most prominent appearance of the work's title, preceding the beginning of the body of the text. A section “Entitled XYZ” means a named subunit of the Document whose title either is precisely XYZ or contains XYZ in parentheses following text that translates XYZ in another language. (Here XYZ stands for a specific section name mentioned below, such as “Acknowledgements”, “Dedications”, “Endorsements”, or “History”.) To “Preserve the Title” of such a section when you modify the Document means that it remains a section “Entitled XYZ” according to this definition. The Document may include Warranty Disclaimers next to the notice which states that this License applies to the Document. These Warranty Disclaimers are considered to be included by reference in this License, but only as regards disclaiming warranties: any other implication that these Warranty Disclaimers may have is void and has no effect on the meaning of this License. 2. VERBATIM COPYINGYou may copy and distribute the Document in any medium, either commercially or noncommercially, provided that this License, the copyright notices, and the license notice saying this License applies to the Document are reproduced in all copies, and that you add no other conditions whatsoever to those of this License. You may not use technical measures to obstruct or control the reading or further copying of the copies you make or distribute. However, you may accept compensation in exchange for copies. If you distribute a large enough number of copies you must also follow the conditions in section 3. You may also lend copies, under the same conditions stated above, and you may publicly display copies. 3. COPYING IN QUANTITYIf you publish printed copies (or copies in media that commonly have printed covers) of the Document, numbering more than 100, and the Document's license notice requires Cover Texts, you must enclose the copies in covers that carry, clearly and legibly, all these Cover Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on the back cover. Both covers must also clearly and legibly identify you as the publisher of these copies. The front cover must present the full title with all words of the title equally prominent and visible. You may add other material on the covers in addition. Copying with changes limited to the covers, as long as they preserve the title of the Document and satisfy these conditions, can be treated as verbatim copying in other respects. If the required texts for either cover are too voluminous to fit legibly, you should put the first ones listed (as many as fit reasonably) on the actual cover, and continue the rest onto adjacent pages. If you publish or distribute Opaque copies of the Document numbering more than 100, you must either include a machine-readable Transparent copy along with each Opaque copy, or state in or with each Opaque copy a computer-network location from which the general network-using public has access to download using public-standard network protocols a complete Transparent copy of the Document, free of added material. If you use the latter option, you must take reasonably prudent steps, when you begin distribution of Opaque copies in quantity, to ensure that this Transparent copy will remain thus accessible at the stated location until at least one year after the last time you distribute an Opaque copy (directly or through your agents or retailers) of that edition to the public. It is requested, but not required, that you contact the authors of the Document well before redistributing any large number of copies, to give them a chance to provide you with an updated version of the Document. 4. MODIFICATIONSYou may copy and distribute a Modified Version of the Document under the conditions of sections 2 and 3 above, provided that you release the Modified Version under precisely this License, with the Modified Version filling the role of the Document, thus licensing distribution and modification of the Modified Version to whoever possesses a copy of it. In addition, you must do these things in the Modified Version:
If the Modified Version includes new front-matter sections or appendices that qualify as Secondary Sections and contain no material copied from the Document, you may at your option designate some or all of these sections as invariant. To do this, add their titles to the list of Invariant Sections in the Modified Version's license notice. These titles must be distinct from any other section titles. You may add a section Entitled “Endorsements”, provided it contains nothing but endorsements of your Modified Version by various parties—for example, statements of peer review or that the text has been approved by an organization as the authoritative definition of a standard. You may add a passage of up to five words as a Front-Cover Text, and a passage of up to 25 words as a Back-Cover Text, to the end of the list of Cover Texts in the Modified Version. Only one passage of Front-Cover Text and one of Back-Cover Text may be added by (or through arrangements made by) any one entity. If the Document already includes a cover text for the same cover, previously added by you or by arrangement made by the same entity you are acting on behalf of, you may not add another; but you may replace the old one, on explicit permission from the previous publisher that added the old one. The author(s) and publisher(s) of the Document do not by this License give permission to use their names for publicity for or to assert or imply endorsement of any Modified Version. 5. COMBINING DOCUMENTSYou may combine the Document with other documents released under this License, under the terms defined in section 4 above for modified versions, provided that you include in the combination all of the Invariant Sections of all of the original documents, unmodified, and list them all as Invariant Sections of your combined work in its license notice, and that you preserve all their Warranty Disclaimers. The combined work need only contain one copy of this License, and multiple identical Invariant Sections may be replaced with a single copy. If there are multiple Invariant Sections with the same name but different contents, make the title of each such section unique by adding at the end of it, in parentheses, the name of the original author or publisher of that section if known, or else a unique number. Make the same adjustment to the section titles in the list of Invariant Sections in the license notice of the combined work. In the combination, you must combine any sections Entitled “History” in the various original documents, forming one section Entitled “History”; likewise combine any sections Entitled “Acknowledgements”, and any sections Entitled “Dedications”. You must delete all sections Entitled “Endorsements.” 6. COLLECTIONS OF DOCUMENTSYou may make a collection consisting of the Document and other documents released under this License, and replace the individual copies of this License in the various documents with a single copy that is included in the collection, provided that you follow the rules of this License for verbatim copying of each of the documents in all other respects. You may extract a single document from such a collection, and distribute it individually under this License, provided you insert a copy of this License into the extracted document, and follow this License in all other respects regarding verbatim copying of that document. 7. AGGREGATION WITH INDEPENDENT WORKSA compilation of the Document or its derivatives with other separate and independent documents or works, in or on a volume of a storage or distribution medium, is called an “aggregate” if the copyright resulting from the compilation is not used to limit the legal rights of the compilation's users beyond what the individual works permit. When the Document is included in an aggregate, this License does not apply to the other works in the aggregate which are not themselves derivative works of the Document. If the Cover Text requirement of section 3 is applicable to these copies of the Document, then if the Document is less than one half of the entire aggregate, the Document's Cover Texts may be placed on covers that bracket the Document within the aggregate, or the electronic equivalent of covers if the Document is in electronic form. Otherwise they must appear on printed covers that bracket the whole aggregate. 8. TRANSLATIONTranslation is considered a kind of modification, so you may distribute translations of the Document under the terms of section 4. Replacing Invariant Sections with translations requires special permission from their copyright holders, but you may include translations of some or all Invariant Sections in addition to the original versions of these Invariant Sections. You may include a translation of this License, and all the license notices in the Document, and any Warranty Disclaimers, provided that you also include the original English version of this License and the original versions of those notices and disclaimers. In case of a disagreement between the translation and the original version of this License or a notice or disclaimer, the original version will prevail. If a section in the Document is Entitled “Acknowledgements”, “Dedications”, or “History”, the requirement (section 4) to Preserve its Title (section 1) will typically require changing the actual title. 9. TERMINATIONYou may not copy, modify, sublicense, or distribute the Document except as expressly provided for under this License. Any other attempt to copy, modify, sublicense or distribute the Document is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 10. FUTURE REVISIONS OF THIS LICENSEThe Free Software Foundation may publish new, revised versions of the GNU Free Documentation License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. See http://www.gnu.org/copyleft/. Each version of the License is given a distinguishing version number. If the Document specifies that a particular numbered version of this License “or any later version” applies to it, you have the option of following the terms and conditions either of that specified version or of any later version that has been published (not as a draft) by the Free Software Foundation. If the Document does not specify a version number of this License, you may choose any version ever published (not as a draft) by the Free Software Foundation. ADDENDUM: How to use this License for your documentsTo use this License in a document you have written, include a copy of the License in the document and put the following copyright and license notices just after the title page:
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, replace the “with...Texts.” line with this:
If you have Invariant Sections without Cover Texts, or some other combination of the three, merge those two alternatives to suit the situation. If your document contains nontrivial examples of program code, we recommend releasing these examples in parallel under your choice of free software license, such as the GNU General Public License, to permit their use in free software. |