Warning, /games/kigo/doc/index.docbook is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" ?>
0002 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
0003   <!ENTITY % addindex "IGNORE">
0004   <!ENTITY % English "INCLUDE">
0005 
0006   <!ENTITY gnugo "<application>&GNU; Go</application>">
0007   <!ENTITY kigo  "<application>Kigo</application>">
0008 ]>
0009 <!-- ................................................................ -->
0010 
0011 <book id="kigo" lang="&language;">
0012 <bookinfo>
0013 <title>The &kigo; Handbook</title>
0014 
0015 <authorgroup>
0016         <author>
0017                 <firstname></firstname>
0018                 <surname>Sascha Peilicke</surname>
0019                 <affiliation>
0020                         <address>sasch.pe@gmx.de</address>
0021                 </affiliation>
0022         </author>
0023         <!-- TRANS:ROLES_OF_TRANSLATORS -->
0024 </authorgroup>
0025 
0026 <copyright>
0027         <year>2008-2010</year>
0028         <holder>Sascha Peilicke</holder>
0029 </copyright>
0030 
0031 <legalnotice>&FDLNotice;</legalnotice>
0032 
0033 <date>2021-07-01</date>
0034 <releaseinfo>0.6.2 (KDE Gear 21.04)</releaseinfo>
0035 <abstract>
0036         <para>&kigo; is an open-source implementation of the popular <literal>Go</literal> game (also known as <literal>Weiqi</literal>).</para>
0037 </abstract>
0038 <keywordset>
0039     <keyword>KDE</keyword>
0040     <keyword>kdegames</keyword>
0041     <keyword>game</keyword>
0042     <keyword>kigo</keyword>
0043     <keyword>logic</keyword>
0044     <keyword>board</keyword>
0045     <keyword>one player</keyword>
0046     <keyword>two players</keyword>
0047 </keywordset>
0048 </bookinfo>
0049 
0050 <chapter id="introduction">
0051     <title>Introduction</title>
0052 
0053     <note><title>Gametype:</title>
0054     <para>Logic, Board</para></note>
0055 
0056     <note><title>Number of possible players:</title>
0057     <para>Two</para></note>
0058 
0059     <para>
0060     &kigo; is an open-source implementation of the popular <literal>Go</literal> game (also known as Weiqi).
0061     </para>
0062 
0063     <para>
0064     <literal>Go</literal> is a strategic board game for two players. It is also known as <quote><literal>igo</literal></quote> (<foreignphrase lang="ja">囲碁</foreignphrase> in Japanese), <quote><literal>weiqi</literal></quote> or <quote><literal>wei ch'i</literal></quote> (<foreignphrase lang="zh">圍棋</foreignphrase> or <foreignphrase lang="zh">围棋</foreignphrase> in Chinese), or <quote><literal>baduk</literal></quote> (<foreignphrase lang="ko">바둑</foreignphrase> in Korean). <literal>Go</literal> is noted for being rich in strategic complexity despite its simple rules.
0065     </para>
0066 
0067     <para>
0068     The game is played by two players who alternately place black and white stones (playing pieces, now usually made of glass or plastic) on the vacant intersections of a grid of 19×19 lines (9x9 or 13x13 lines for easier flavors).
0069     </para>
0070 
0071 </chapter>
0072 
0073 <chapter id="howto">
0074     <title>How to Play</title>
0075 
0076     <note><title>Objective:</title>
0077     <para>The object of the game is to control a larger portion of the board than the opponent. A stone or a group of stones is captured and removed if it has no empty adjacent intersections, the result of being completely surrounded by stones of the opposing color.</para></note>
0078 
0079     <sect1 id="starting">
0080     <title>Starting a Game</title>
0081 
0082     <para>
0083     When you have started &kigo; you have two options to play the wonderful game of <literal>Go</literal>. You can either start a new game or continue an old one.
0084     </para>
0085 
0086     <sect2 id="new_game">
0087     <title>Setup a new game</title>
0088 
0089     <para>
0090     When you have started &kigo; you should see a screen similar to the one shown in screenshot below. There you can set up both the white and the black player’s name and the board size. You can decide if one or both players should be computers. If you decide to play against a computer you can also set its strength. If you want to start the game you can either select the <menuchoice><guimenu>Game</guimenu> <guimenuitem>New</guimenuitem></menuchoice> menu item, click on <guibutton>Start Game</guibutton> button in the <guilabel>Game setup</guilabel> dock widget or by simply pressing the <keycap>S</keycap> key.
0091     </para>
0092 
0093     <screenshot>
0094         <screeninfo>New game screen</screeninfo>
0095         <mediaobject>
0096             <imageobject><imagedata format="PNG" fileref="start-new-game.png"/></imageobject>
0097             <textobject><phrase>New Game Screen.</phrase></textobject>
0098         </mediaobject>
0099     </screenshot>
0100     </sect2>
0101 
0102     <sect2 id="load_game">
0103     <title>Setup a loaded game</title>
0104 
0105     <para>
0106     If you decide to continue a previously unfinished game you can simply choose the <menuchoice><guimenu>Game</guimenu> <guimenuitem>Load...</guimenuitem></menuchoice> menu item (the menu is shown in the screenshot above). A file chooser should now pop up, use it to select and load the desired savegame file.
0107     </para>
0108 
0109     <para>
0110     Now you should see a screen similar to the one shown on the screenshot below. If you do not want to continue with the last move made, you can revert as many moves as you like. You should see the board changing as you change the current move number. The setup screen also presents a lot of additional information about the saved game.
0111     </para>
0112 
0113     <para>
0114     Just press <guibutton>Start Game</guibutton> to continue.
0115     </para>
0116 
0117     <screenshot>
0118         <screeninfo>Loaded game screen</screeninfo>
0119         <mediaobject>
0120             <imageobject><imagedata format="PNG" fileref="start-loaded-game.png"/></imageobject>
0121             <textobject><phrase>Loaded Game Screen.</phrase></textobject>
0122         </mediaobject>
0123     </screenshot>
0124 
0125     <para>
0126     There is also the option to download history <literal>Go</literal> games or saved games uploaded by other users from the internet. Just click the <menuchoice><guimenu>Game</guimenu> <guimenuitem>Get More Games...</guimenuitem></menuchoice> menu item. You should then see a dialog which allows you to choose which content to download.
0127     </para>
0128 
0129     <screenshot>
0130         <screeninfo>Get new games</screeninfo>
0131         <mediaobject>
0132             <imageobject><imagedata format="PNG" fileref="get-new-games.png"/></imageobject>
0133             <textobject><phrase>Get New Games Screen.</phrase></textobject>
0134         </mediaobject>
0135     </screenshot>
0136 
0137     </sect2>
0138     </sect1>
0139 
0140     <sect1 id="playing">
0141     <title>Playing a game</title>
0142 
0143     <para>
0144     Now you are ready to play your first round of <literal>Go</literal>. If you are not familiar with the rules, we recommend reading the corresponding <ulink url="https://en.wikipedia.org/wiki/Go_(game)">Wikipedia article</ulink> or take <ulink url="http://playgo.to/iwtg/en/">The Interactive Way To <literal>Go</literal></ulink> from Hiroki Mori.
0145     </para>
0146 
0147     <para>
0148     Making a move is simple, just click on one of the intersections on the <literal>Go</literal> board. You should see a little black point which shows you where your stone would land if you click.
0149     </para>
0150 
0151     <para>
0152     The current player can be determined by the cursor, which changes to a black or a white stone depending on which player is next.
0153     </para>
0154 
0155     <para>
0156     You can also check the game information which shows also the previous move and some statistics. A complete move history is also available. If you want to remember in which order the stones on the board where placed, just click the <guibutton>Show move numbers</guibutton> button. If you think that you can’t gain anything by placing another stone, just click <guibutton>Pass Move</guibutton> and let your opponent take his turn. If both players pass, the game can be finished. Note that ending a <literal>Go</literal> game is always a cooperative step!
0157     </para>
0158 
0159     <screenshot>
0160         <screeninfo>Playing a fresh game</screeninfo>
0161         <mediaobject>
0162             <imageobject><imagedata format="PNG" fileref="play-game.png"/></imageobject>
0163             <textobject><phrase>Playing a Fresh Game.</phrase></textobject>
0164         </mediaobject>
0165     </screenshot>
0166 
0167     <para>
0168     Note that you can save the current game at any time. Do this by choosing the <menuchoice><guimenu>Game</guimenu> <guimenuitem>Save</guimenuitem></menuchoice> menu item.
0169     </para>
0170 
0171     <sect2 id="hint">
0172     <title>Getting a hint</title>
0173 
0174     <para>
0175     Sometimes it is difficult to decide which move to make. If you want the computer to give you a little hint, just press the <guibutton>Hint</guibutton> button shown in the screenshot below. Now some transparent stones with a number on top should appear. These are actually your recommendations with a score. The score determines how good that move is. Feel free to click on any of the recommended moves or any other free field to make set your next stone.
0176     </para>
0177 
0178     <screenshot>
0179         <screeninfo> Getting a hint</screeninfo>
0180         <mediaobject>
0181             <imageobject><imagedata format="PNG" fileref="hint.png"/></imageobject>
0182             <textobject><phrase>Getting a Hint.</phrase></textobject>
0183         </mediaobject>
0184     </screenshot>
0185 
0186     </sect2>
0187     </sect1>
0188 
0189     <sect1 id="strattips">
0190     <title>Strategies and Tips</title>
0191 
0192     <itemizedlist>
0193         <listitem><para><literal>Go</literal> is more about surrounding territory (empty space) than capturing your opponent's pieces.</para></listitem>
0194         <listitem><para>Territory is easiest to surround near the corners (on two sides) then near the edges (on three sides) and lastly in the center.</para></listitem>
0195         <listitem><para>At the start of the game, space your pieces out. Only fill in your fence-lines when your opponent starts to intrude</para></listitem>
0196         <listitem><para>Do not play unsupported stones right next to your opponent's stones when attacking.  They will tend to get swallowed and &gnugo; is very good at that. It is often better to attack indirectly.</para></listitem>
0197         <listitem><para>To avoid capture, a group of stones must have two <quote>eyes</quote> or be able to make them if attacked.  <quote>Eyes</quote> are disconnected spaces. Think of a doughnut with two holes. Your opponent can surround the outside, but cannot fill both holes at once.</para></listitem>
0198         <listitem><para>On the 19x19 board there are typically several territories being created, attacked or defended.  You have to fight several battles simultaneously. The strategy involves evaluating the strengths and weaknesses in various areas and allocating your moves between them.  Is it better to attack there or defend here?</para></listitem>
0199         <listitem><para>As the board fills up and the end-game approaches, it becomes important to play closer up, nibbling at your opponent's fences or reinforcing your own.  Small mistakes and omissions can become very costly.</para></listitem>
0200     </itemizedlist>
0201 
0202     </sect1>
0203 </chapter>
0204 
0205 <chapter id="interface"><title>Interface Overview</title>
0206     <sect1 id="menus">
0207     <title>The &kigo; Menus</title>
0208     <para>
0209     &kigo; has the following options:
0210     </para>
0211 
0212     <variablelist>
0213 
0214     <varlistentry id="game-menu-new">
0215     <term><menuchoice>
0216     <shortcut><keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo></shortcut>
0217     <guimenu>Game</guimenu> <guimenuitem>New</guimenuitem>
0218     </menuchoice></term>
0219     <listitem><para><action>Starts a new game.</action></para></listitem>
0220     </varlistentry>
0221 
0222     <varlistentry id="game-menu-load">
0223     <term><menuchoice>
0224     <shortcut><keycombo action="simul">&Ctrl;<keycap>O</keycap></keycombo></shortcut>
0225     <guimenu>Game</guimenu> <guimenuitem>Load...</guimenuitem>
0226     </menuchoice></term>
0227     <listitem><para>Opens the Open File &kde; standard dialog, to open a <literal role="extension">.sgf</literal> file (&kigo; game file), which contains a saved game.</para></listitem>
0228     </varlistentry>
0229 
0230     <varlistentry  id="game-menu-get-more">
0231     <term><menuchoice>
0232     <shortcut><keycombo action="simul">&Ctrl;<keycap>G</keycap></keycombo></shortcut>
0233     <guimenu>Game</guimenu> <guimenuitem>Get More Games...</guimenuitem>
0234     </menuchoice></term>
0235     <listitem><para><action>Opens <guilabel>Get Hot New Stuff</guilabel> dialog to load other users saved games.</action></para></listitem>
0236     </varlistentry>
0237 
0238     <varlistentry  id="game-menu-save">
0239     <term><menuchoice>
0240     <shortcut><keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo></shortcut>
0241     <guimenu>Game</guimenu> <guimenuitem>Save</guimenuitem>
0242     </menuchoice></term>
0243     <listitem><para><action>Save</action> the current game.</para></listitem>
0244     </varlistentry>
0245 
0246     <varlistentry id="game-menu-start">
0247     <term><menuchoice>
0248     <shortcut><keycap>S</keycap></shortcut>
0249     <guimenu>Game</guimenu> <guimenuitem>Start Game</guimenuitem>
0250     </menuchoice></term>
0251     <listitem><para><action>Starts</action> the new or the loaded game.</para></listitem>
0252     </varlistentry>
0253 
0254     <varlistentry id="game-menu-finish">
0255     <term><menuchoice>
0256     <shortcut><keycap>F</keycap></shortcut>
0257     <guimenu>Game</guimenu> <guimenuitem>Finish Game</guimenuitem>
0258     </menuchoice></term>
0259     <listitem><para><action>Finishes</action> the current game. Remember that ending a <literal>Go</literal> game is always a cooperative step.</para></listitem>
0260     </varlistentry>
0261 
0262     <varlistentry id="game-menu-quit">
0263     <term><menuchoice>
0264     <shortcut><keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo></shortcut>
0265     <guimenu>Game</guimenu> <guimenuitem>Quit</guimenuitem>
0266     </menuchoice></term>
0267     <listitem><para><action>Quits</action> &kigo;.</para></listitem>
0268     </varlistentry>
0269 
0270     <varlistentry id="move-menu-undo">
0271     <term><menuchoice>
0272     <shortcut><keycombo action="simul">&Ctrl;<keycap>Z</keycap></keycombo></shortcut>
0273     <guimenu>Move</guimenu> <guimenuitem>Undo</guimenuitem>
0274     </menuchoice></term>
0275     <listitem><para><action>Undo</action> your last move.</para></listitem>
0276     </varlistentry>
0277 
0278     <varlistentry id="move-menu-redo">
0279     <term><menuchoice>
0280     <shortcut><keycombo action="simul">&Ctrl;&Shift;<keycap>Z</keycap></keycombo></shortcut>
0281     <guimenu>Move</guimenu> <guimenuitem>Redo</guimenuitem>
0282     </menuchoice></term>
0283     <listitem><para><action>Redo</action> the move that was just undone by <guimenuitem>Undo</guimenuitem>.</para></listitem>
0284     </varlistentry>
0285 
0286     <varlistentry id="move-menu-pass">
0287     <term><menuchoice>
0288     <shortcut><keycap>P</keycap></shortcut>
0289     <guimenu>Move</guimenu> <guimenuitem>Pass Move</guimenuitem>
0290     </menuchoice></term>
0291     <listitem><para>Allows you to <action>pass</action> a move.</para></listitem>
0292     </varlistentry>
0293 
0294     <varlistentry id="move-menu-hint">
0295     <term><menuchoice>
0296     <shortcut><keycap>H</keycap></shortcut>
0297     <guimenu>Move</guimenu> <guimenuitem>Hint</guimenuitem>
0298     </menuchoice></term>
0299     <listitem><para><action>Gives a Hint</action> by showing the transparent stones with the score on them.</para></listitem>
0300     </varlistentry>
0301 
0302     <varlistentry id="move-menu-numbers">
0303     <term><menuchoice>
0304     <shortcut><keycap>N</keycap></shortcut>
0305     <guimenu>Move</guimenu> <guimenuitem>Show Move Numbers</guimenuitem>
0306     </menuchoice></term>
0307     <listitem><para><action>Toggles</action> move numbers visibility.</para></listitem>
0308     </varlistentry>
0309 
0310     <varlistentry id="settings-menu-info-docker">
0311     <term><menuchoice>
0312     <guimenu>Settings</guimenu> <guisubmenu>Dockers</guisubmenu> <guimenuitem>Information</guimenuitem>
0313     </menuchoice></term>
0314     <listitem><para>Shows or hides the <guilabel>Information</guilabel> sidebar.</para></listitem>
0315     </varlistentry>
0316 
0317     <varlistentry id="settings-menu-moves-docker">
0318     <term><menuchoice>
0319     <guimenu>Settings</guimenu> <guisubmenu>Dockers</guisubmenu> <guimenuitem>Moves</guimenuitem>
0320     </menuchoice></term>
0321     <listitem><para>Shows or hides the <guilabel>Moves</guilabel> sidebar.</para></listitem>
0322     </varlistentry>
0323 
0324     </variablelist>
0325 
0326     <para>
0327     Additionally &kigo; has the common &kde; <guimenu>Settings</guimenu> and <guimenu>Help</guimenu> menu items, for more information read the sections about the <ulink url="help:/fundamentals/menus.html#menus-settings">Settings Menu</ulink> and <ulink url="help:/fundamentals/menus.html#menus-help">Help Menu</ulink> of the &kde; Fundamentals.
0328     </para>
0329 
0330     </sect1>
0331 
0332     <sect1 id="keybindings">
0333     <title id="keybindings-title">Shortcuts</title>
0334 
0335     <para>The default shortcuts are:</para>
0336 
0337     <table>
0338         <title>Shortcuts</title>
0339         <tgroup cols="2">
0340         <tbody>
0341             <row>
0342                 <entry>Finish the current game</entry>
0343                 <entry><keycap>F</keycap></entry>
0344             </row>
0345             <row>
0346                 <entry>Get new games uploaded by other users</entry>
0347                 <entry>
0348                     <keycombo action="simul">&Ctrl;<keycap>G</keycap></keycombo>
0349                 </entry>
0350             </row>
0351             <row>
0352                 <entry>Help</entry>
0353                 <entry><keycap>F1</keycap></entry>
0354             </row>
0355             <row>
0356                 <entry>Load saved game</entry>
0357                 <entry>
0358                     <keycombo action="simul">&Ctrl;<keycap>O</keycap></keycombo>
0359                 </entry>
0360             </row>
0361             <row>
0362                 <entry>Provide hints to possible moves</entry>
0363                 <entry><keycap>H</keycap></entry>
0364             </row>
0365             <row>
0366                 <entry>Pass a move</entry>
0367                 <entry><keycap>P</keycap></entry>
0368             </row>
0369             <row>
0370                 <entry>Quit</entry>
0371                 <entry>
0372                     <keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo>
0373                 </entry>
0374             </row>
0375             <row>
0376                 <entry>Redo a move that was undone</entry>
0377                 <entry>
0378                     <keycombo action="simul">&Ctrl;&Shift;<keycap>Z</keycap></keycombo>
0379                 </entry>
0380             </row>
0381             <row>
0382                 <entry>Save the current game</entry>
0383                 <entry>
0384                     <keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo>
0385                 </entry>
0386             </row>
0387             <row>
0388                 <entry>Start a new game</entry>
0389                 <entry>
0390                     <keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo>
0391                 </entry>
0392             </row>
0393             <row>
0394                 <entry>Start new or loaded game</entry>
0395                 <entry><keycap>S</keycap></entry>
0396             </row>
0397             <row>
0398                 <entry>Toggle move numbers visibility</entry>
0399                 <entry><keycap>N</keycap></entry>
0400             </row>
0401             <row>
0402                 <entry>Undo your last move</entry>
0403                 <entry>
0404                     <keycombo action="simul">&Ctrl;<keycap>Z</keycap></keycombo>
0405                 </entry>
0406             </row>
0407             <row>
0408                 <entry>What's this? help</entry>
0409                 <entry>
0410                     <keycombo action="simul">&Shift;<keycap>F1</keycap></keycombo>
0411                 </entry>
0412             </row>
0413         </tbody>
0414         </tgroup>
0415     </table>
0416 
0417     </sect1>
0418 </chapter>
0419 
0420 <chapter id="configuration">
0421     <title>Game Configuration</title>
0422 
0423     <para>
0424     If you want to change how &kigo; is configured you can do that by navigating to the <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure &kigo;...</guimenuitem></menuchoice> menu item.
0425     </para>
0426 
0427     <para>
0428     You should now see the configuration dialog as shown in the screenshot below. You can reach it also by pressing the key combination <keycombo>&Alt;<keycap>S</keycap></keycombo> followed by <keycombo>&Alt;<keycap>C</keycap></keycombo>.
0429     </para>
0430 
0431     <para>
0432     &kigo; is extremely flexible and can be customized as much as you like. You are able to change positions and size of all dock widgets next to the central play area. You can also customize the toolbar if you want to have different actions accessible there. To do this just choose the <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure Toolbars...</guimenuitem></menuchoice> menu item. The same is possible for all shortcuts in the game. If you want to have the maximum space available for the game field you can even hide the toolbar and most dock widgets in the <guimenu>Settings</guimenu> menu.
0433     </para>
0434 
0435     <sect1 id="genconig">
0436     <title>General Configuration</title>
0437 
0438     <para>
0439     The most important aspect here is the <literal>Go</literal> engine backend configuration. &kigo; needs a valid backend to function properly. As you can see in the screenshot below, it used &gnugo; by default. The little light next to the engine command shines green if everything works fine. If this is not the case or if you want to use a different <literal>Go</literal> backend, you should install a different <literal>Go</literal> engine which can speak the <literal>Go</literal> Text Protocol (<acronym>GTP</acronym>) and set its command and parameters accordingly. Details about this step should be found in the corresponding <literal>Go</literal> engine documentation.
0440     </para>
0441 
0442     <screenshot>
0443         <screeninfo>General configuration</screeninfo>
0444         <mediaobject>
0445             <imageobject><imagedata format="PNG" fileref="setup-general.png"/></imageobject>
0446             <textobject><phrase>General Configuration.</phrase></textobject>
0447         </mediaobject>
0448     </screenshot>
0449 
0450     </sect1>
0451 
0452     <sect1 id="configuration-theme">
0453     <title>Theme Configuration</title>
0454 
0455     <para>
0456     This page will allow you to change the theme &kigo; uses.
0457     </para>
0458 
0459     <screenshot>
0460         <screeninfo>Configure &kigo; - Themes</screeninfo>
0461         <mediaobject>
0462             <imageobject><imagedata fileref="setup-theme.png" format="PNG"/></imageobject>
0463             <textobject><phrase>Theme Configuration</phrase></textobject>
0464         </mediaobject>
0465     </screenshot>
0466 
0467     </sect1>
0468 </chapter>
0469 
0470 <chapter id="credits">
0471     <title>Credits and License</title>
0472 
0473     <para>
0474     &kigo;
0475     </para>
0476 
0477     <para>
0478     Program copyright 2009 Sascha Peilicke <email>sasch.pe@gmx.de</email>
0479     </para>
0480 
0481     <para>
0482     Documentation Copyright &copy; 2009 Sascha Peilicke <email>sasch.pe@gmx.de</email>
0483     </para>
0484 
0485     <para>
0486     Documentation editing and Docbook conversion by Yuri Chornoivan <email>yurchor@ukr.net</email>
0487     </para>
0488 
0489     <para>
0490     Default theme designed by Arturo Silva <email>jasilva28@gmail.com</email>
0491     </para>
0492 
0493 <!-- TRANS:CREDIT_FOR_TRANSLATORS -->
0494 &underFDL;
0495 &underGPL;
0496 
0497 </chapter>
0498 
0499 &documentation.index;
0500 </book>
0501 <!--
0502 Local Variables:
0503 mode: sgml
0504 sgml-omittag: nil
0505 sgml-shorttag: t
0506 sgml-general-insert-case: lower
0507 End:
0508 -->
0509