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

0001 <?xml version="1.0" ?>
0002 <!--IMPORTANT: please note that'do not change this!' notice does not apply to translators -->
0003 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
0004   <!ENTITY % English "INCLUDE" > <!-- change language only here -->
0005   <!ENTITY % addindex "IGNORE"> <!-- do not change this! -->
0006 ]>
0008 <book id="ksquares" lang="&language;"> <!-- do not change this! -->
0009 <bookinfo>
0010         <title>The &ksquares; Handbook</title> <!-- This is the title of the docbook. Leave as is unless change is necessary.-->
0011 <!-- List of immidiate authors begins here. -->
0012 <!--INPORTANT! - All other contributors: [to be determined] -->
0013 <authorgroup>
0014   <author>
0015     <personname>
0016       <firstname>Matt</firstname>
0017       <surname>Williams</surname>
0018     </personname>
0019     <email>matt@milliams.com</email>
0020   </author>
0022   <othercredit role="reviewer">
0023     <firstname>Eugene</firstname>
0024     <surname>Trounev</surname>
0025     <contrib>Reviewer</contrib>
0026     <affiliation><address>eugene.trounev@gmail.com</address></affiliation>
0027   </othercredit>
0029 </authorgroup>
0031 <copyright>
0032   <year>2006</year>
0033   <holder>Matt Williams</holder>
0034 </copyright>
0036 <legalnotice>&FDLNotice;</legalnotice>
0037 <date>2021-10-03</date>
0038 <releaseinfo>0.6 (KDE Gear 21.08)</releaseinfo>
0040 <!--Short description of this document. Do not change unless necessary!-->
0041 <abstract>
0042         <para>This documentation describes the game of &ksquares; version 0.6</para>
0043 </abstract>
0045 <!--List of relevan keywords-->
0046 <keywordset>
0047         <keyword>KDE</keyword> <!-- do not change this! -->
0048         <keyword>kdegames</keyword> <!-- do not change this! -->
0049         <keyword>game</keyword> <!-- do not change this! -->
0050         <keyword>Ksquares</keyword><!--Application name goes here-->
0051 <!-- Game genre. Use as many as necessary. Available game types are: Arcade, Board, Card, Dice, Toys, Logic, Strategy.-->
0052         <keyword>board</keyword>
0053         <keyword>Dots and Boxes</keyword>
0054         <keyword>Boxes</keyword>
0055         <keyword>Squares</keyword>
0056 <!--Number of possible players. It can be: One, Two,..., Multiplayer-->
0057         <keyword>four players</keyword>
0058 <!--All other relevant keywords-->
0059         <keyword>Paddocks</keyword>
0060         <keyword>Square-it</keyword>
0061         <keyword>Dots and Dashes</keyword>
0062         <keyword>Dot Game</keyword>
0063 </keywordset>
0064 </bookinfo>
0065 <!--Content begins here: -->
0066 <chapter id="introduction"><title>Introduction</title> <!-- do not change this! -->
0067         <note><title>Gametype:</title><para>Board</para></note><!-- Game genre. Use as many as necessary. Available game types are: Arcade, Board, Card, Dice, Toys, Logic, Strategy.-->
0068         <note><title>Number of possible players:</title><para>Four</para></note>
0069         <para>&ksquares; is a fun and exciting game. &ksquares; is modeled after the well known pen and paper based game of Dots and Boxes.</para>
0070 <para>The idea behind &ksquares; is to construct squares by interconnecting the dots on the grid. Up to four players can play this game together, taking turns. The trick is – regardless of who has constructed most of the square, it is the player who completes the square that gets the point for it.</para>
0071 <para>To win the game round player has to collect the most points by covering the most area with the squares of player's own color.</para>
0072 </chapter>
0074 <chapter id="howto"><title>How to Play</title> <!-- do not change this! -->
0075 <!--IMPORTANT: If the game has no defined objective, please remove the below line.-->
0076         <note><title>Objective:</title><para>Complete more squares than any of your opponents.</para></note><!--Describe the objective of the game.-->
0077 <!--How to play description. Don't be to specific on rules as they have a separate section in this document-->
0078         <para>
0079   At the start of the game, the game board is empty. There is simply a grid of dots showing where lines can be drawn.
0080 </para>
0082 <screenshot>
0083 <mediaobject>
0084 <imageobject>
0085 <imagedata fileref="gameboard.png" format="PNG"/>
0086 </imageobject>
0087 <textobject>
0088 <phrase>&ksquares; Game Board</phrase>
0089 </textobject>
0090 </mediaobject>
0091 </screenshot>
0093   <para>Each player takes it in turns to draw a line between two adjacent dots on the board. By hovering the mouse over the game board, a yellow indicator line will show you where your line will be placed when you click.
0094   Once you have decided where you want to draw your line, click - and the line will be drawn.
0095   If by drawing a line, you completed a square then this square now belongs to you and earns you a point. Each time you complete a square, you must draw another line. If your line did not complete a square then the next player(s) take their turn.
0096   The game will continue until every square on the board is owned by one of the players.
0097   </para>
0098   <para>
0099   To start a new game with custom settings (number of players, player names, board size) click on the <guibutton>New</guibutton> toolbar button or go to <menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo></shortcut> <guimenu>Game</guimenu> <guimenuitem>New</guimenuitem></menuchoice> menu item. To start a new game with the same settings as the current game, click on <guibutton>Restart Game</guibutton> button on the toolbar.
0100   </para>
0101 </chapter>
0103 <chapter id="rules_and_tips"><title>Game Rules, Strategies and Tips</title> <!-- do not change this! -->
0104         <!--This section has to do with game rules. Please give a detailed description of those using lists or paragraphs.-->
0105 <sect1 id="rules">
0106   <title>Game Rules</title>
0107     <para>There is very little to be said when it come to the rules, as the game concept in itself is rather a simple one. Nevertheless, here are the game regulations you, as a player will defiantly face while playing &ksquares;:</para>
0108     <itemizedlist>
0109         <listitem><para>You may only connect the dots on the grid if they are not previously connected by you, your opponent, or the computer.</para></listitem>
0110         <listitem><para>To gain the points you have to connect the dots to form a square.</para></listitem>
0111         <listitem><para>The square can be no larger than the four adjacent dots on the grid allow for.</para></listitem>
0112         <listitem><para>Once a square is complete the player who draws the last line of that square is granted the right of possession over it. The square then is colored and the player is given a point.</para></listitem>
0113         <listitem><para>The player who completes the square is given an extra turn which the player cannot forfeit.</para></listitem>
0114     </itemizedlist>
0115 </sect1>
0116 <sect1 id="strategies">
0117   <title>Strategies and Tips</title>
0118   <itemizedlist>
0119         <listitem><para>Try not to play at random. Such game practice will most certainly result in loss.</para></listitem>
0120         <listitem><para>Construct long chains of lines over the gameboard. Once one such chain is complete start to build another one going parallel to the first.</para></listitem>
0121         <listitem><para>Try not to build contraptions where only one line remains undone. Your opponent will almost certainly take an advantage of it.</para></listitem>
0122         <listitem><para>If you are to let the opponent get a square or more, try to select the combination resulting in the least damage.</para></listitem>
0123         <listitem><para>Try to push your opponent into the situation where he/she(it) will have no choice but to let you get the square.</para></listitem>
0124         <listitem><para>If you are to get a chance to start completing a whole chain of squares, remember that by leaving two squares at the end of such chain incomplete you are pushing your opponent into completing them, thus giving you the opportunity to continue onto yet another chain. Such a situation is called the double-cross.</para></listitem>
0125     </itemizedlist>
0126 </sect1>
0127 </chapter>
0129 <chapter id="menu-items">
0130   <title>Menu Items</title>
0131   <para>
0132     <variablelist>
0133       <varlistentry>
0134         <term><menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo></shortcut>
0135         <guimenu>Game</guimenu>
0136         <guimenuitem>New</guimenuitem></menuchoice></term>
0137         <listitem><para><action>Start a new game.</action></para></listitem>
0138       </varlistentry>
0139       <varlistentry>
0140         <term><menuchoice><shortcut><keycap>F5</keycap></shortcut>
0141         <guimenu>Game</guimenu>
0142         <guimenuitem>Restart Game</guimenuitem></menuchoice></term>
0143         <listitem><para>Starts a new game with the same settings as the current game.</para></listitem>
0144       </varlistentry>
0145       <varlistentry>
0146         <term><menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>H</keycap></keycombo></shortcut>
0147         <guimenu>Game</guimenu>
0148         <guimenuitem>Show High Scores...</guimenuitem></menuchoice></term>
0149         <listitem><para><action>Displays</action> the high score table.</para></listitem>
0150       </varlistentry>
0151       <varlistentry>
0152         <term><menuchoice><shortcut><keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo></shortcut>
0153         <guimenu>Game</guimenu>
0154         <guimenuitem>Quit</guimenuitem></menuchoice></term>
0155         <listitem><para><action>Quits</action> &ksquares;.</para></listitem>
0156       </varlistentry>
0157       <varlistentry id="settings-menu-settings">
0158         <term><menuchoice>
0159         <guimenu>Settings</guimenu>
0160         <guimenuitem>Configure &ksquares;...</guimenuitem></menuchoice></term>
0161         <listitem><para><action>Opens a dialog to configure &ksquares;.</action> See <link linkend="configuration">Game Configuration</link> section for details.</para></listitem>
0162       </varlistentry>
0163     </variablelist>
0164   </para>
0165   <para>
0166     Additionally &ksquares; has the common &kde; <guimenu>Settings</guimenu> and <guimenu>Help</guimenu>
0167     menu items, for more information read the sections about the
0168     <ulink url="help:/fundamentals/menus.html#menus-settings">Settings Menu</ulink> and
0169     <ulink url="help:/fundamentals/menus.html#menus-help">Help Menu</ulink>
0170     of the &kde; Fundamentals.
0171   </para>
0173 </chapter>
0175 <chapter id="faq"><title>Frequently asked questions</title> <!-- do not change this! -->
0176 <!--This chapter is for frequently asked questions. Please use <qandaset> <qandaentry> only!-->
0177 <qandaset>
0178 <!--Following is a standard list of FAQ questions.-->
0179 <qandaentry>
0180  <question><para>I want to change the way this game looks. Can I? </para></question>
0181  <answer><para>Currently the only thing you can change about the game look is the color of the lines. To do so use the <menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure &ksquares;...</guimenuitem></menuchoice> menu item. See <link linkend="configuration">Game Configuration</link> section for details.</para></answer>
0182 </qandaentry>
0183 <qandaentry>
0184  <question><para>I have made a mistake. Can I undo? </para></question>
0185  <answer><para>No. &ksquares; doesn't currently have an <quote>Undo</quote> feature.</para></answer>
0186 </qandaentry>
0187 <qandaentry>
0188  <question><para>Can I use the keyboard to play the game? </para></question>
0189  <answer><para>No. &ksquares; cannot be played using keyboard.</para></answer>
0190 </qandaentry>
0191 <qandaentry>
0192  <question><para>I cannot figure out what to do here! Are there hints? </para></question>
0193  <answer><para>No. There is no <quote>Hint</quote> feature implemented yet.</para></answer>
0194 </qandaentry>
0195 <qandaentry>
0196  <question><para>I have to quit the game now, but I am not finished yet. Can I save my progress?</para></question>
0197   <answer><para>&ksquares; does not have a <quote>Save</quote> feature.</para></answer>
0198 </qandaentry>
0199 <!--Please add more Q&As if needed-->
0201 </qandaset>
0202 </chapter>
0204 <chapter id="configuration"><title>Game Configuration</title> <!-- do not change this! -->
0205 <sect1 id="newgame-dialog">
0206 <title>New Game Dialog</title>
0207 <screenshot>
0208 <mediaobject>
0209 <imageobject>
0210 <imagedata fileref="newgame.png" format="PNG"/>
0211 </imageobject>
0212 <textobject>
0213 <phrase>New game</phrase>
0214 </textobject>
0215 </mediaobject>
0216 </screenshot>
0217 <para>The <guilabel>New Game</guilabel> dialog consistes of the following groupboxes:</para>
0218 <variablelist>
0219   <varlistentry>
0220     <term><guilabel>Players</guilabel></term>
0221     <listitem><para>Here you can change the number of participating players, as well as determine who will be played by human and who by the artificial intelligence. Use the <guilabel>Number of players:</guilabel> spin-box to specify the number of participants. Then type a name for each participant and use the <guilabel>Human?</guilabel> check box to specify the player type.</para></listitem>
0222   </varlistentry>
0223   <varlistentry>
0224     <term><guilabel>Game Board</guilabel></term>
0225     <listitem><para>Here you can regulate the size of the game board. Use the <guilabel>Width:</guilabel> and <guilabel>Height:</guilabel> spin-boxes to change the width and height of the game board.</para></listitem>
0226   </varlistentry>
0227   <varlistentry>
0228     <term><guilabel>Game Settings</guilabel></term>
0229     <listitem><para>This part of the configuration dialog regulates the difficulty of the game. If you leave the <guilabel>Quick start</guilabel> check box unchecked - the game will begin with the empty grid. Otherwise the game will start with the game board partially filled.</para></listitem>
0230   </varlistentry>
0231 </variablelist>
0232 </sect1>
0233 <sect1 id="configuration-dialog">
0234 <title>Configuration Dialog</title>
0235 <screenshot>
0236 <mediaobject>
0237 <imageobject>
0238 <imagedata fileref="configure-display.png" format="PNG"/>
0239 </imageobject>
0240 <textobject>
0241 <phrase>Configuration dialog</phrase>
0242 </textobject>
0243 </mediaobject>
0244 </screenshot>
0245 <para>The <guilabel>Configure - &ksquares;</guilabel> dialog consists of the following tabs:</para>
0246 <variablelist>
0247   <varlistentry>
0248     <term><guilabel>Display</guilabel></term>
0249     <listitem><para>Here you can change the &ksquares; color settings.</para></listitem>
0250   </varlistentry>
0251   <varlistentry>
0252     <term><guilabel>Computer Player</guilabel></term>
0253     <listitem><para>Use this tab to regulate the game difficulty.</para></listitem>
0254   </varlistentry>
0255 </variablelist>
0256 </sect1>
0257 </chapter>
0259 <chapter id="credits"><title>Credits and License</title> <!-- do not change this! -->
0260 <!--This chapter is for credits and licenses.-->
0262 <para>
0263 &ksquares;  <!-- do not change this! -->
0264 </para>
0266 <para>
0267   Program copyright 2006 Matt Williams <email>matt@milliams.com</email>
0268   </para>
0270   <para>Documentation Copyright &copy; 2006 Matt Williams <email>matt@milliams.com</email></para>
0275 &underFDL;
0276 &underGPL;
0278 </chapter>
0280 &documentation.index;
0281 </book>
0282 <!--
0283 Local Variables:
0284 mode: sgml
0285 sgml-minimize-attributes:nil
0286 sgml-general-insert-case:lower
0287 sgml-omittag:t
0288 sgml-shorttag:t
0289 sgml-namecase-general:t
0290 sgml-always-quote-attributes:t
0291 sgml-indent-step:0
0292 sgml-indent-data:nil
0293 sgml-parent-document:nil
0294 sgml-exposed-tags:nil
0295 sgml-local-catalogs:nil
0296 sgml-local-ecat-files:nil
0297 End:
0298 -->