Warning, /games/knavalbattle/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 i18n-knavalbattle "<application>Naval Battle</application>"> 0004 <!ENTITY % addindex "IGNORE"> 0005 <!ENTITY % English "INCLUDE" > <!-- change language only here --> 0006 ]> 0007 0008 <book id="knavalbattle" lang="&language;"> 0009 <bookinfo> 0010 <title>The &knavalbattle; Handbook</title> 0011 0012 <authorgroup> 0013 <author> 0014 &Daniel.Molkentin; &Daniel.Molkentin.mail; 0015 </author> 0016 0017 <author> 0018 &Nikolas.Zimmermann; &Nikolas.Zimmermann.mail; 0019 </author> 0020 0021 <author> 0022 <firstname>Anton</firstname> 0023 <surname>Brondz</surname> 0024 <affiliation> 0025 <address><email>dinolinux@gmail.com</email></address> 0026 </affiliation> 0027 </author> 0028 0029 <othercredit role="reviewer"> 0030 &Frerich.Raabe; 0031 <!-- <contrib>Reviewer</contrib> --> 0032 &Frerich.Raabe.mail; 0033 </othercredit> 0034 0035 <!-- TRANS:ROLES_OF_TRANSLATORS --> 0036 0037 </authorgroup> 0038 0039 <legalnotice>&FDLNotice;</legalnotice> 0040 0041 <copyright> 0042 <year>2001</year> 0043 <holder>&Daniel.Molkentin;</holder> 0044 </copyright> 0045 <copyright> 0046 <year>2001</year> 0047 <holder>&Nikolas.Zimmermann;</holder> 0048 </copyright> 0049 <copyright> 0050 <year>2001</year> 0051 <holder>Kevin Krammer</holder> 0052 </copyright> 0053 0054 <date>2020-12-10</date> 0055 <releaseinfo>Applications 20.12</releaseinfo> 0056 0057 <abstract> 0058 <para> 0059 &i18n-knavalbattle; is a network-enabled implementation of the famous ship sinking game by &kde;.</para> 0060 </abstract> 0061 0062 <keywordset> 0063 <keyword>KDE</keyword> 0064 <keyword>kdegames</keyword> 0065 <keyword>knavalbattle</keyword> 0066 <keyword>game</keyword> 0067 <keyword>battleship</keyword> 0068 <keyword>battle</keyword> 0069 <keyword>naval</keyword> 0070 </keywordset> 0071 0072 </bookinfo> 0073 0074 <chapter id="introduction"> 0075 <title>Introduction</title> 0076 <note><title>Gametype:</title><para>Strategy, Board</para></note><!-- Game genre. Use as many as necessary. Available game types are: Arcade, Board, Card, Dice, Toys, Logic, Strategy.--> 0077 <note><title>Number of possible players:</title><para>Two</para></note><!--Number of possible players. It can be: One, Two,..., Multiplayer--> 0078 0079 <screenshot> 0080 <mediaobject> 0081 <imageobject> 0082 <imagedata fileref="gameboard.png" format="PNG"/> 0083 </imageobject> 0084 <textobject> 0085 <phrase>&i18n-knavalbattle; Game Board</phrase> 0086 </textobject> 0087 </mediaobject> 0088 </screenshot> 0089 0090 <para> 0091 &i18n-knavalbattle; is a ship sinking game by &kde;. Ships are placed on a board which represents the sea. Players try to hit each others 0092 ships in turns without knowing where they are placed. The first player to destroy all ships wins the game. 0093 </para> 0094 </chapter> 0095 0096 <chapter id="howtoplay"> 0097 <title>How to Play</title> 0098 <note><title>Objective:</title><para>Sink all of the opponent’s ships before the opponent sink all the ships of your own.</para></note><!--Describe the objective of the game.--> 0099 <para> 0100 If you want to play &i18n-knavalbattle;, you will need two players, either play 0101 against the computer or in a network against another player. To play against your computer, first select the difficulty level on the right of the status bar, and then select <guilabel>Single Player</guilabel> on the welcome screen, or directly on the <menuchoice><guimenu>Game</guimenu> <guimenuitem>Single Player</guimenuitem></menuchoice> menu item.</para> 0102 0103 <para> 0104 To start a network game, one player has to host the game by selecting <guilabel>Host Network Game</guilabel> on the welcome screen, or choosing <menuchoice><guimenu>Game</guimenu> 0105 <guimenuitem>Host Game...</guimenuitem></menuchoice>. 0106 A dialog box opens which asks for a <guilabel>Nickname:</guilabel> and <guilabel>Port:</guilabel>. Normally, 0107 &i18n-knavalbattle; will suggest your full name, but you can enter any string 0108 you want. The predefined port should be ok. However, if you encounter 0109 problems, you can choose any other free port above 1024. 0110 </para> 0111 0112 <note> 0113 <para>You need to tell the other player in case you use a port other than 0114 the default as both players need to use the same port in order to be able 0115 to establish a connection.</para> 0116 </note> 0117 0118 <para> 0119 The other player has to choose <guilabel>Connect to Network Game</guilabel>, or click on the <menuchoice><guimenu>Game</guimenu> 0120 <guimenuitem>Connect to Game...</guimenuitem></menuchoice> menu item. Again, a <guilabel>Nickname:</guilabel> is 0121 suggested, but you can choose any nickname you like. In the field <guilabel>Hostname:</guilabel> you 0122 have to enter the host name of the server (the machine of the player that initiated the game). 0123 </para> 0124 0125 <para> 0126 When you are done, you can start the game. Simply follow the 0127 instructions in the statusbar. It will issue hints and suggest what to 0128 do next. When you now look at the screen, you will find two grid fields, 0129 the so-called <quote>battle areas</quote>. The left area belongs to 0130 you. This is where you place your ships and where you can follow the 0131 military actions of your enemy. The right area is where your enemy's 0132 fleet is located. When it's your turn to fire, you need to click on a 0133 certain sector (a field of the battle area) where you suppose the ships 0134 to be located. 0135 </para> 0136 0137 <para> 0138 First, you need to place your ships. The game initiator starts. When 0139 he/she is done, player two sets his/her ships. 0140 </para> 0141 0142 <para> 0143 Ship placement is very easy: simply click on the field where you want to 0144 place your ships. You have four ships to place: the first one will have a length of one square, the next 0145 will be two squares long &etc; Click on the field where you want to start 0146 the placement. By default, ships will be placed horizontally; 0147 to rotate them 90 degrees, click the &RMB; before the placement. 0148 <!-- &Shift; itself will flip the ship placement preview. --> 0149 </para> 0150 0151 <para> 0152 When a ship is hit, fire will break out on it. To sink it, hit all the squares it 0153 occupies. A sunk ship will appear faded. 0154 </para> 0155 0156 <para> 0157 Now you can use the &LMB; to fire on the battle area of your enemy. The status bar indicates 0158 who is about to shoot. 0159 </para> 0160 0161 <para> 0162 You can restart the game by choosing the <menuchoice><guimenu>Game</guimenu> 0163 <guimenuitem>Restart Game</guimenuitem></menuchoice> menu item, or by pressing 0164 <keycap>F5</keycap>. 0165 </para> 0166 0167 <para> 0168 The first player to destroy all their opponent's ships wins the game. 0169 </para> 0170 0171 </chapter> 0172 0173 <chapter id="rulestips"> 0174 <title>Game Rules, Strategies and Tips</title> 0175 <sect1 id="rules"> 0176 <title>Rules</title> 0177 <itemizedlist> 0178 <listitem><para>A player can only fire one shot per turn.</para></listitem> 0179 <listitem><para>Players must place all their ships.</para></listitem> 0180 <listitem><para>Ships cannot be moved once placed.</para></listitem> 0181 <listitem><para>A ship is sunk when all the squares it occupies are hit.</para></listitem> 0182 </itemizedlist> 0183 </sect1> 0184 0185 <sect1 id="strattips"> 0186 <title>Strategies and Tips</title> 0187 <itemizedlist> 0188 <listitem><para>Never place ships next to one another.</para></listitem> 0189 <listitem><para>Once you hit a ship, try shooting around the place you hit.</para></listitem> 0190 <listitem><para>Try to place ships away from the edges of the board.</para></listitem> 0191 <listitem><para>Small ships are harder to hit, make sure you place them where they are hard to find.</para></listitem> 0192 <listitem><para>Think before you shoot. Hits on water gives less points.</para></listitem> 0193 </itemizedlist> 0194 </sect1> 0195 0196 </chapter> 0197 0198 <chapter id="menu-reference"> 0199 <title>The Menus</title> 0200 0201 <sect1 id="menu"> 0202 <title>Menu Items</title> 0203 0204 <variablelist> 0205 <varlistentry> 0206 <term> 0207 <menuchoice> 0208 <shortcut> 0209 <keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo> 0210 </shortcut> 0211 <guimenu>Game</guimenu> 0212 <guimenuitem>New</guimenuitem> 0213 </menuchoice> 0214 </term> 0215 <listitem> 0216 <para> 0217 <action>Exit the current game and reload the welcome screen.</action> 0218 </para> 0219 </listitem> 0220 </varlistentry> 0221 0222 <varlistentry> 0223 <term> 0224 <menuchoice> 0225 <shortcut><keycap>F5</keycap></shortcut> 0226 <guimenu>Game</guimenu> 0227 <guimenuitem>Restart Game</guimenuitem> 0228 </menuchoice> 0229 </term> 0230 <listitem> 0231 <para> 0232 <action>Restart the game.</action> 0233 </para> 0234 </listitem> 0235 </varlistentry> 0236 0237 <varlistentry> 0238 <term> 0239 <menuchoice> 0240 <shortcut><keycombo action="simul">&Ctrl;<keycap>H</keycap></keycombo></shortcut> 0241 <guimenu>Game</guimenu> 0242 <guimenuitem>Show High Scores</guimenuitem> 0243 </menuchoice> 0244 </term> 0245 <listitem> 0246 <para> 0247 <action>Show the highest scores so far.</action> 0248 </para> 0249 </listitem> 0250 </varlistentry> 0251 0252 <varlistentry> 0253 <term> 0254 <menuchoice> 0255 <!-- <shortcut><keycap>F4</keycap></shortcut> --> 0256 <guimenu>Game</guimenu> 0257 <guimenuitem>Single Player</guimenuitem> 0258 </menuchoice> 0259 </term> 0260 <listitem> 0261 <para> 0262 <action>Start a game with your computer as the opponent.</action> 0263 </para> 0264 </listitem> 0265 </varlistentry> 0266 0267 <varlistentry> 0268 <term> 0269 <menuchoice> 0270 <!-- <shortcut><keycap>F3</keycap></shortcut> --> 0271 <guimenu>Game</guimenu> 0272 <guimenuitem>Host Game...</guimenuitem> 0273 </menuchoice> 0274 </term> 0275 <listitem> 0276 <para> 0277 <action>Start the server so another player can connect to you.</action> 0278 </para> 0279 </listitem> 0280 </varlistentry> 0281 0282 <varlistentry> 0283 <term> 0284 <menuchoice> 0285 <!-- <shortcut><keycap>F3</keycap></shortcut> --> 0286 <guimenu>Game</guimenu> 0287 <guimenuitem>Connect to Game...</guimenuitem> 0288 </menuchoice> 0289 </term> 0290 <listitem> 0291 <para> 0292 <action>Connect to a server to start a game.</action> 0293 </para> 0294 </listitem> 0295 </varlistentry> 0296 0297 <varlistentry> 0298 <term> 0299 <menuchoice> 0300 <shortcut> 0301 <keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo> 0302 </shortcut> 0303 <guimenu>Game</guimenu> 0304 <guimenuitem>Quit</guimenuitem> 0305 </menuchoice> 0306 </term> 0307 <listitem> 0308 <para> 0309 <action>Exit</action> &i18n-knavalbattle;. 0310 </para> 0311 </listitem> 0312 </varlistentry> 0313 0314 <varlistentry> 0315 <term> 0316 <menuchoice> 0317 <guimenu>Settings</guimenu> 0318 <guimenuitem>Change Nickname...</guimenuitem> 0319 </menuchoice> 0320 </term> 0321 <listitem> 0322 <para> 0323 <action>Change the default nickname.</action> 0324 </para> 0325 </listitem> 0326 </varlistentry> 0327 0328 <varlistentry> 0329 <term> 0330 <menuchoice> 0331 <guimenu>Settings</guimenu> 0332 <guimenuitem>Play Sounds</guimenuitem> 0333 </menuchoice> 0334 </term> 0335 <listitem> 0336 <para> 0337 <action>Toggle whether sounds (played when shooting) should be played.</action> 0338 The default is on. 0339 </para> 0340 </listitem> 0341 </varlistentry> 0342 0343 <varlistentry> 0344 <term> 0345 <menuchoice> 0346 <guimenu>Settings</guimenu> 0347 <guimenuitem>Adjacent Ships</guimenuitem> 0348 </menuchoice> 0349 </term> 0350 <listitem> 0351 <para> 0352 <action>Toggle whether the ships can be put on a desk without one empty space between them.</action> 0353 The default is on. This setting should be defined on a host when <link linkend="howtoplay">playing &i18n-knavalbattle; via network</link>. 0354 </para> 0355 </listitem> 0356 </varlistentry> 0357 0358 <varlistentry> 0359 <term> 0360 <menuchoice> 0361 <guimenu>Settings</guimenu> 0362 <guimenuitem>Show End-of-Game Message</guimenuitem> 0363 </menuchoice> 0364 </term> 0365 <listitem> 0366 <para>If you won the game and have a new highscore, the highscore dialog will be shown. 0367 Otherwise the result is displayed in the statusbar or, if this option is enabled, additionally in a dialog. 0368 </para> 0369 </listitem> 0370 </varlistentry> 0371 0372 <varlistentry> 0373 <term> 0374 <menuchoice> 0375 <guimenu>Settings</guimenu> 0376 <guimenuitem>Show Left Grid</guimenuitem> 0377 <guimenu>Settings</guimenu> 0378 <guimenuitem>Show Right Grid</guimenuitem> 0379 </menuchoice> 0380 </term> 0381 <listitem> 0382 <para>Using the grids makes it easier to place a shot with the mouse pointer. 0383 </para> 0384 </listitem> 0385 </varlistentry> 0386 0387 <varlistentry> 0388 <term> 0389 <menuchoice> 0390 <guimenu>Settings</guimenu> 0391 <guisubmenu>Difficulty</guisubmenu> 0392 </menuchoice> 0393 </term> 0394 <listitem> 0395 <para> 0396 The game difficulty setting (<guimenuitem>Easy</guimenuitem>, <guimenuitem>Medium</guimenuitem>, 0397 <guimenuitem>Hard</guimenuitem>) has effect only in single player games against the computer. 0398 In higher levels the AI uses a smarter strategy for shooting and placing ships.</para> 0399 </listitem> 0400 </varlistentry> 0401 0402 </variablelist> 0403 0404 <para> 0405 Additionally &i18n-knavalbattle; has the common &kde; <guimenu>Settings</guimenu> and <guimenu>Help</guimenu> 0406 menu items, for more information read the sections about the <ulink url="help:/fundamentals/menus.html#menus-settings" 0407 >Settings Menu</ulink> and <ulink url="help:/fundamentals/menus.html#menus-help">Help Menu</ulink> 0408 of the &kde; Fundamentals. 0409 </para> 0410 0411 </sect1> 0412 </chapter> 0413 0414 <chapter id="faq"> 0415 <title>Frequently Asked Questions</title> 0416 0417 <qandaset> 0418 0419 <qandaentry> 0420 <question> 0421 <para> 0422 I'm not sure where to shoot, can I get a hint? 0423 </para> 0424 </question> 0425 <answer> 0426 <para> 0427 No, there is no hint system in &i18n-knavalbattle;. 0428 </para> 0429 </answer> 0430 </qandaentry> 0431 0432 <qandaentry> 0433 <question> 0434 <para> 0435 How can I rotate a ship? 0436 </para> 0437 </question> 0438 <answer> 0439 <para> 0440 Move the ship where you want to place it, then press the &RMB;. 0441 </para> 0442 </answer> 0443 </qandaentry> 0444 0445 <qandaentry> 0446 <question> 0447 <para> 0448 Can I change how the game looks? 0449 </para> 0450 </question> 0451 <answer> 0452 <para> 0453 No, the theme is not changeable. 0454 </para> 0455 </answer> 0456 </qandaentry> 0457 0458 </qandaset> 0459 </chapter> 0460 0461 <chapter id="credits"> 0462 <title>Credits and License</title> 0463 0464 <para>&knavalbattle; Copyright 2000-2007</para> 0465 0466 <itemizedlist> 0467 <title>Authors</title> 0468 <listitem> 0469 <para> 0470 Paolo Capriotti <email>p.capriotti@gmail.com</email> 0471 </para> 0472 </listitem> 0473 <listitem> 0474 <para> 0475 &Nikolas.Zimmermann; &Nikolas.Zimmermann.mail; 0476 </para> 0477 </listitem> 0478 <listitem> 0479 <para> 0480 &Daniel.Molkentin; &Daniel.Molkentin.mail; 0481 </para> 0482 </listitem> 0483 <listitem> 0484 <para> 0485 Kevin Krammer <email>kevin.krammer@gmx.at</email> 0486 </para> 0487 </listitem> 0488 </itemizedlist> 0489 0490 <itemizedlist> 0491 <title>Contributors</title> 0492 <listitem> 0493 <para> 0494 Johann Ollivier Lapeyre <email>johann.ollivierlapeyre@gmail.com</email> 0495 </para> 0496 </listitem> 0497 <listitem> 0498 <para> 0499 Eugene Trounev <email>irs_me@hotmail.com</email> 0500 </para> 0501 </listitem> 0502 <listitem> 0503 <para> 0504 &Robert.Wadley; <email>rob@robntina.fastmail.us</email> 0505 </para> 0506 </listitem> 0507 <listitem> 0508 <para> 0509 Riccardo Iaconelli <email>ruphy@fsfe.org</email> 0510 </para> 0511 </listitem> 0512 <listitem> 0513 <para> 0514 Benjamin Adler <email>benadler@bigfoot.de</email> 0515 </para> 0516 </listitem> 0517 <listitem> 0518 <para> 0519 Nils Trzebin <email>nils.trzebin@stud.uni-hannover.de</email> 0520 </para> 0521 </listitem> 0522 <listitem> 0523 <para>Elmar Hoefner <email>elmar.hoefner@uibk.ac.at</email></para> 0524 </listitem> 0525 0526 </itemizedlist> 0527 0528 <para>Documentation updated for &kde; 3.4 by 0529 <personname><firstname>Brian</firstname><surname>Beck</surname></personname> 0530 <email>brian.beck@mchsi.com</email></para> 0531 0532 <para>Documentation updated for &kde; 4 by 0533 <personname><firstname>Elisa</firstname><surname>Tonello</surname></personname> 0534 <email>elisa.tonello@gmail.com</email></para> 0535 0536 <!-- TRANS:CREDIT_FOR_TRANSLATORS --> 0537 0538 &underFDL; 0539 &underGPL; 0540 0541 </chapter> 0542 0543 &documentation.index; 0544 </book> 0545 <!-- 0546 Local Variables: 0547 mode: sgml 0548 sgml-minimize-attributes:nil 0549 sgml-general-insert-case:lower 0550 sgml-omittag:t 0551 sgml-shorttag:t 0552 sgml-namecase-general:t 0553 sgml-always-quote-attributes:t 0554 sgml-indent-step:0 0555 sgml-indent-data:nil 0556 sgml-parent-document:nil 0557 sgml-exposed-tags:nil 0558 sgml-local-catalogs:nil 0559 sgml-local-ecat-files:nil 0560 End: 0561 -->