~neon/kdegames/trunk

« back to all changes in this revision

Viewing changes to kblackbox/doc/index.docbook

  • Committer: aacid
  • Date: 2012-08-18 14:19:55 UTC
  • Revision ID: svn-v4:283d02a7-25f6-0310-bc7c-ecb5cbfe19da:trunk/KDE/kdegames:1311445
move the doc folders inside of each of the apps, will ease git migration

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<!--IMPORTANT: please note that'do not change this!' notice does not apply to translators -->
 
3
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
 
4
  <!ENTITY kappname "&kblackbox;">
 
5
  <!ENTITY kappversion "0.4.0"><!--Applicaion version. Use this variable everywhere it's needed.-->
 
6
  <!ENTITY package "kdegames">  <!-- do not change this! -->
 
7
  <!ENTITY % English "INCLUDE" > <!-- change language only here -->
 
8
  <!ENTITY % addindex "IGNORE"> <!-- do not change this! -->
 
9
]>
 
10
 
 
11
<book lang="&language;"> <!-- do not change this! -->
 
12
<bookinfo>
 
13
        <title>The &kblackbox; Handbook</title> <!-- This is the title of the docbook. Leave as is unless change is necessary.-->
 
14
<!-- List of immidiate authors begins here. -->
 
15
<!--INPORTANT! - All other contributors: [to be determined] -->
 
16
<authorgroup>
 
17
<author>
 
18
&Nicolas.Roffet; &Nicolas.Roffet.mail;
 
19
</author>
 
20
 
 
21
<author>
 
22
&Robert.Cimrman; &Robert.Cimrman.mail;
 
23
</author>
 
24
 
 
25
<author>
 
26
&Philip.Rodrigues; &Philip.Rodrigues.mail;
 
27
</author>
 
28
 
 
29
<othercredit role="reviewer">
 
30
&Lauri.Watts; &Lauri.Watts.mail;
 
31
</othercredit>
 
32
 
 
33
<!-- TRANS:ROLES_OF_TRANSLATORS -->
 
34
 
 
35
</authorgroup>
 
36
 
 
37
<copyright>
 
38
<year>2007</year>
 
39
<holder>&Nicolas.Roffet;</holder>
 
40
</copyright>
 
41
<legalnotice>&FDLNotice;</legalnotice> 
 
42
<date>2012-08-06</date><!-- Date of (re)writing, or update.-->
 
43
<releaseinfo>&kappversion; (&kde; 4.9)</releaseinfo><!-- Application version number. Use the variable definitions within header to change this value.-->
 
44
 
 
45
<!--Short description of this document. Do not change unless necessary!-->
 
46
<abstract>
 
47
        <para>This documentation describes the game of &kblackbox; version &kappversion;</para>
 
48
</abstract>
 
49
 
 
50
<!--List of relevan keywords-->
 
51
<keywordset>
 
52
        <keyword>KDE</keyword> <!-- do not change this! -->
 
53
        <keyword>kdegames</keyword> <!-- do not change this! -->
 
54
        <keyword>game</keyword> <!-- do not change this! -->
 
55
        <keyword>Kblackbox</keyword>
 
56
        <keyword>puzzle</keyword>
 
57
        <keyword>board</keyword>
 
58
        <keyword>balls</keyword>
 
59
        <keyword>beams</keyword>
 
60
<!--Number of possible players. It can be: One, Two,..., Multiplayer-->
 
61
        <keyword>one player</keyword>
 
62
<!--All other relevant keywords-->
 
63
        <keyword>hidden balls</keyword>
 
64
        <keyword>find</keyword>
 
65
        <keyword>search</keyword>
 
66
</keywordset>
 
67
</bookinfo>
 
68
<!--Content begins here: -->
 
69
<chapter id="introduction"><title>Introduction</title> <!-- do not change this! -->
 
70
        <note><title>Gametype:</title><para>Puzzle, Board</para></note><!-- Game genre. Use as many as necessary. Available game types are: Arcade, Board, Card, Dice, Toys, Logic, Strategy.-->
 
71
        <note><title>Number of possible players:</title><para>One</para></note><!--Number of possible players. It can be: One, Two,..., Multiplayer-->
 
72
 
 
73
<!--Short game description starts here. 3-4 sentences (paragraphs)-->
 
74
        <para>&kblackbox; is a nice logical game, inspired by the <application>emacs</application> blackbox game. A major part of this help file is based on the original <application>emacs</application> help.</para>
 
75
 
 
76
<para>&kblackbox; is a game of hide and seek played on a grid of boxes. The computer has hidden several balls within this box. By shooting beams into the box and observing where they emerge it is possible to deduce the positions of the hidden balls.</para>
 
77
<para>The fewer beams you use and the quicker you are to find the balls, the better (the lower) your score.</para>
 
78
</chapter>
 
79
 
 
80
<chapter id="howto"><title>How to Play</title> <!-- do not change this! -->
 
81
<!--IMPORTANT: If the game has no defined objective, please remove the below line.-->
 
82
        <note><title>Objective:</title><para>Use laser beams to deduce the placement of the balls inside the black box.</para></note><!--Describe the objective of the game.-->
 
83
<!--How to play description. Don't be to specific on rules as they have a separate section in this document-->
 
84
 
 
85
<para>Use lasers and place balls and markers on the game board to deduce the position of the hidden balls inside the black box.</para>
 
86
<para>
 
87
        The game starts as soon as you use the first laser. Before that, the time is not running and no point will be count for the score.
 
88
</para>
 
89
<para>The cursor can be moved around the box with the standard cursor movement keys or the mouse. Switching of lasers or marking of black boxes is done with the &LMB;, or by pressing the <keycap>Return</keycap> or &Enter; key.</para>
 
90
 
 
91
<para>You can also drag and drop the balls and the markers with the mouse.</para>
 
92
 
 
93
<para>You can mark the fields where you think a ball cannot be, too. Just press the &RMB;. It often helps you to find an area where a ball could possibly
 
94
be. To clear any marks, press the same key or mouse button again.</para>
 
95
 
 
96
<para>When you think the configuration of balls you have placed is correct, press the <guibutton>Done!</guibutton> button. You
 
97
will be informed whether you are correct or not, and be given your score.
 
98
</para>
 
99
<para>
 
100
        If you placed any balls incorrectly, the right solution will be displayed.
 
101
</para>
 
102
 
 
103
<para>
 
104
        The score increases with the time (1 point per second) and with the use of lasers: 3 points if the laser beam hits a ball or exits at the entry point and 9 points if it exists at another entry point.  If you make a mistake, the score is set at the end of the game to 999, which is the maximum score.
 
105
</para>
 
106
</chapter>
 
107
 
 
108
<chapter id="rules_and_tips"><title>Game Rules, Strategies and Tips</title> <!-- do not change this! -->
 
109
        <!--This section has to do with game rules. Please give a detailed description of those using lists or paragraphs.-->
 
110
        <sect1 id="game-rules"><title>Game Rules</title>
 
111
 
 
112
<para>You have to find balls hidden in the black box. Your means are limited - you can just fire lasers which are around the box. There are three possible outcomes for each beam you send into the box: </para>
 
113
 
 
114
<anchor id="detour"/>
 
115
<variablelist>
 
116
 
 
117
<varlistentry>
 
118
<term>Detour</term> 
 
119
<listitem><para>The beam is deflected and emerges somewhere other than where you sent it in. On the playfield, detours are denoted by matching pairs of numbers - one where the beam went in, and the other where it
 
120
came out.</para></listitem>
 
121
</varlistentry>
 
122
 
 
123
<varlistentry>
 
124
<term>Reflection</term>
 
125
<listitem><para>The beam is reflected and emerges in the same place it
 
126
was sent in. On the playfield, reflections are denoted by a special sign.</para></listitem>
 
127
</varlistentry>
 
128
 
 
129
<varlistentry>
 
130
<term>Hit</term>
 
131
<listitem><para>The beam strikes a ball and is absorbed. It does not
 
132
emerge from the box. On the playfield, hits are denoted by a special sign.</para></listitem>
 
133
</varlistentry>
 
134
</variablelist>
 
135
 
 
136
<para>The rules for how balls deflect beams are simple and are best shown by
 
137
example.</para>
 
138
 
 
139
<para>As a beam approaches a ball it is deflected ninety degrees. Beams
 
140
can be deflected multiple times. In the diagrams below, the dashes
 
141
represent empty box locations and the letter <guilabel>O</guilabel>
 
142
represents a ball. The entrance and exit points of each beam are marked
 
143
with numbers as described under <link linkend="detour">Detour</link>
 
144
above. Note that the entrance and exit points are always
 
145
interchangeable. <guilabel>*</guilabel> denotes the path taken by the
 
146
beam.</para>
 
147
 
 
148
<para>Note carefully the relative positions of the ball and the ninety
 
149
degree deflection it causes.</para>
 
150
 
 
151
<screen>
 
152
    1
 
153
  - * - - - - - -         - - - - - - - -         - - - - - - - -       
 
154
  - * - - - - - -         - - - - - - - -         - - - - - - - -       
 
155
1 * * - - - - - -         - - - - - - - -         - O - - - - O -       
 
156
  - - O - - - - -         - - O - - - - -         - - * * * * - -
 
157
  - - - - - - - -         - - - * * * * * 2     3 * * * - - * - -
 
158
  - - - - - - - -         - - - * - - - -         - - - O - * - -      
 
159
  - - - - - - - -         - - - * - - - -         - - - - * * - -       
 
160
  - - - - - - - -         - - - * - - - -         - - - - * - O -       
 
161
                                2                         3
 
162
</screen>
 
163
 
 
164
<para>
 
165
As mentioned above, a reflection occurs when a beam emerges from the same
 
166
point it was sent in. This can happen in several ways:
 
167
</para>
 
168
 
 
169
<screen>
 
170
  - - - - - - - -         - - - - - - - -          - - - - - - - -
 
171
  - - - - O - - -         - - O - O - - -          - - - - - - - -
 
172
R * * * * - - - -         - - - * - - - -          O - - - - - - -
 
173
  - - - - O - - -         - - - * - - - -        R - - - - - - - -
 
174
  - - - - - - - -         - - - * - - - -          - - - - - - - -
 
175
  - - - - - - - -         - - - * - - - -          - - - - - - - -
 
176
  - - - - - - - -       R * * * * - - - -          - - - - - - - -
 
177
  - - - - - - - -         - - - - O - - -          - - - - - - - -
 
178
 
 
179
</screen>
 
180
 
 
181
<para>In the first example, the beam is deflected downwards by the upper
 
182
ball, then left by the lower ball, and finally retraces its path to its
 
183
point of origin. The second example is similar. The third example is a
 
184
bit anomalous but can be rationalized by realizing the beam never gets a
 
185
chance to get into the box. Alternatively, the beam can be thought of as
 
186
being deflected downwards and immediately emerging from the box.</para>
 
187
 
 
188
<para>A hit occurs when a beam runs straight into a ball:</para>
 
189
 
 
190
<screen>
 
191
  - - - - - - - -         - - - - - - - -          - - - - - - - -
 
192
  - - - - - - - -         - - - - - - - -          - - - - O - - -
 
193
  - - - - - - - -         - - - - O - - -        H * * * * - - - -
 
194
  - - - - - - - -       H * * * * O - - -          - - - * - - - -
 
195
  - - - - - - - -         - - - - O - - -          - - - O - - - -
 
196
H * * * O - - - -         - - - - - - - -          - - - - - - - -
 
197
  - - - - - - - -         - - - - - - - -          - - - - - - - -
 
198
  - - - - - - - -         - - - - - - - -          - - - - - - - -
 
199
 
 
200
</screen>
 
201
 
 
202
<para>Be sure to compare the second example of a hit with the first
 
203
example of a reflection.</para>
 
204
 
 
205
</sect1>
 
206
</chapter>
 
207
  
 
208
<chapter id="interface"><title>Interface Overview</title> <!-- do not change this! -->
 
209
<!-- This section has to do with menubar. Describe every single entry in order. Use <variablelist> and <varlistentry>. Split the chapter into sections using <sect1(2,3)> for better viewing.-->
 
210
 <sect1 id="game-board-descritpion">
 
211
<title>Game Board Description</title>
 
212
 
 
213
<para>The following types of field are found on the game board: </para>
 
214
 
 
215
<variablelist>
 
216
<varlistentry>
 
217
<term><interface>The big black box in the middle</interface></term>
 
218
<listitem><para>Here you must mark the positions you think
 
219
a ball is in.</para></listitem>
 
220
</varlistentry>
 
221
 
 
222
<varlistentry>
 
223
<term><interface>Lasers around the box</interface></term>
 
224
<listitem><para>The lasers are shooting beams of light when
 
225
switched on. Then, they disappear and are replaced by an information about the interactions of the laser beam with the balls in the black box.</para></listitem>
 
226
</varlistentry>
 
227
 
 
228
<varlistentry>
 
229
<term><interface>Balls</interface></term>
 
230
<listitem><para><quote>There must be one there!</quote> you think.  These mark
 
231
where you suspect a ball is placed in the black box.</para>
 
232
<para>At the end of the game, the right and wrong positions of the balls are also marked with "balls".</para>
 
233
</listitem>
 
234
</varlistentry>
 
235
 
 
236
<varlistentry>
 
237
<term><interface>Markers for "free position"</interface></term>
 
238
<listitem><para>You can use them to mark some positions where you are sure there is no ball.</para></listitem>
 
239
</varlistentry>
 
240
</variablelist>
 
241
 
 
242
</sect1>
 
243
 
 
244
<sect1 id="game-menu">
 
245
<title>The <guimenu>Game</guimenu> Menu</title>
 
246
 
 
247
<variablelist>
 
248
<varlistentry>
 
249
<term><menuchoice>
 
250
<shortcut>
 
251
<keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo>
 
252
</shortcut>
 
253
<guimenu>Game</guimenu>
 
254
<guimenuitem>New</guimenuitem></menuchoice></term>
 
255
<listitem><para>Starts a new game (and abandons the current, if
 
256
any.)</para></listitem>
 
257
</varlistentry>
 
258
 
 
259
<varlistentry>
 
260
<term><menuchoice>
 
261
<shortcut><keycap>P</keycap></shortcut>
 
262
<guimenu>Game</guimenu>
 
263
<guimenuitem>Pause</guimenuitem></menuchoice></term>
 
264
<listitem><para>Pause or continue the current game.</para><para>Note that the interaction results are hidden in a paused game.</para></listitem>
 
265
</varlistentry>
 
266
 
 
267
<varlistentry>
 
268
<term><menuchoice>
 
269
<shortcut>
 
270
<keycombo action="simul">&Ctrl;<keycap>H</keycap></keycombo>
 
271
</shortcut>
 
272
<guimenu>Game</guimenu>
 
273
<guimenuitem>Show High Scores</guimenuitem></menuchoice></term>
 
274
<listitem><para>Show the high score tables.</para></listitem>
 
275
</varlistentry>
 
276
 
 
277
<varlistentry>
 
278
<term><menuchoice>
 
279
<guimenu>Game</guimenu>
 
280
<guimenuitem>Start Tutorial</guimenuitem></menuchoice></term>
 
281
<listitem><para>Start the tutorial of the game. This is a user friendly way to learn the game rules.</para></listitem>
 
282
</varlistentry>
 
283
 
 
284
<varlistentry>
 
285
<term><menuchoice>
 
286
<guimenu>Game</guimenu>
 
287
<guimenuitem>New Sandbox Game</guimenuitem></menuchoice></term>
 
288
<listitem><para>In this mode, the solution is displayed at the start of the game. This is useful to understand the game principles.</para></listitem>
 
289
</varlistentry>
 
290
 
 
291
<varlistentry>
 
292
        <term>
 
293
                <menuchoice>
 
294
                        <shortcut>
 
295
                                <keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo>
 
296
                        </shortcut>
 
297
                        <guimenu>Game</guimenu>
 
298
                        <guimenuitem>Quit</guimenuitem>
 
299
                </menuchoice>
 
300
        </term>
 
301
        <listitem>
 
302
                <para>This closes the window and quits &kblackbox;.</para>
 
303
        </listitem>
 
304
</varlistentry>
 
305
</variablelist>
 
306
</sect1>
 
307
 
 
308
 
 
309
<sect1 id="move-menu">
 
310
<title>The <guimenu>Move</guimenu> Menu</title>
 
311
 
 
312
<variablelist>
 
313
<varlistentry>
 
314
        <term>
 
315
                <menuchoice>
 
316
                        <guimenu>Move</guimenu>
 
317
                        <guimenuitem>Solve</guimenuitem>
 
318
                </menuchoice>
 
319
        </term>
 
320
        <listitem>
 
321
                <para>Use it to give up a game. It shows you the solution: the right positions of the balls.</para>
 
322
        </listitem>
 
323
</varlistentry>
 
324
 
 
325
<varlistentry>
 
326
<term><menuchoice><guimenu>Move</guimenu>
 
327
<guimenuitem>Done!</guimenuitem></menuchoice></term>
 
328
<listitem><para>When you placed all the balls, choose "Done!" to terminate
 
329
the current game, to compute the final score and to display the real positions of
 
330
the balls.</para></listitem>
 
331
</varlistentry>
 
332
</variablelist>
 
333
</sect1>
 
334
 
 
335
 
 
336
<sect1 id="settings-menu">
 
337
<title>The <guimenu>Settings</guimenu> Menu</title>
 
338
<para>Note: we describe here only the menu items that are game specific and skip &kde; standard menu items.</para>
 
339
<variablelist>
 
340
<varlistentry>
 
341
<term><menuchoice>
 
342
<guimenu>Settings</guimenu><guisubmenu>Difficulty</guisubmenu>
 
343
</menuchoice>
 
344
</term>
 
345
<listitem>
 
346
<para>Select the game difficulty. Harder games have more balls and bigger black box than easier games. You can also play with a custom difficulty level that you can set up in the setting dialog of &kblackbox;.</para>
 
347
<para>Note: games with 4 balls or less can always be solved with certainty! That is not the case for games with 5 balls or more.</para>
 
348
</listitem>
 
349
</varlistentry>
 
350
 
 
351
<varlistentry>
 
352
<term><menuchoice>
 
353
<guimenu>Settings</guimenu><guimenuitem>Configure &kblackbox;...</guimenuitem>
 
354
</menuchoice></term>
 
355
<listitem>
 
356
<para>In this dialog, you can customize the number of balls, columns and rows of the black box in the custom difficulty level.</para>
 
357
</listitem>
 
358
</varlistentry>
 
359
</variablelist>
 
360
 
 
361
</sect1>
 
362
 
 
363
<sect1 id="help"><!--This is a standard Help menubar entry. Only change if needed.-->
 
364
<title>The <guimenu>Help</guimenu> Menu</title>
 
365
&help.menu.documentation;
 
366
</sect1>
 
367
</chapter>
 
368
 
 
369
<chapter id="faq"><title>Frequently asked questions</title> <!-- do not change this! -->
 
370
<!--This chapter is for frequently asked questions. Please use <qandaset> <qandaentry> only!-->
 
371
<qandaset>
 
372
<!--Following is a standard list of FAQ questions.-->
 
373
<qandaentry>
 
374
 <question><para>Can I use the keyboard to play this game? </para></question>
 
375
 <answer><para>Yes. You can use the directional keys to control the cursor, &Enter; to place and remove balls, and <keycap>Spacebar</keycap> to place 'empty' marks.</para></answer>
 
376
</qandaentry>
 
377
<qandaentry>
 
378
 <question><para>I have to quit the game now, but I am not finished yet. Can I save my progress?</para></question>
 
379
  <answer><para>&kblackbox; has no save feature at the moment.</para></answer>
 
380
</qandaentry>
 
381
 
 
382
</qandaset>
 
383
</chapter>
 
384
 
 
385
<chapter id="credits"><title>Credits and License</title> <!-- do not change this! -->
 
386
<!--This chapter is for credits and licenses.-->
 
387
 
 
388
<para>
 
389
&kblackbox;  <!-- do not change this! -->
 
390
</para>
 
391
<!--List all the copyright holders here-->
 
392
<para>
 
393
Program copyright 1999-2000 &Robert.Cimrman; &Robert.Cimrman.mail; and 2007 &Nicolas.Roffet; &Nicolas.Roffet.mail;
 
394
</para>
 
395
<para>
 
396
Documentation copyright by &Robert.Cimrman;. Updated and converted to Docbook
 
397
for &kde; 2.0 by &Lauri.Watts; &Lauri.Watts.mail;. Reviewed by &Philip.Rodrigues; &Philip.Rodrigues.mail;
 
398
</para>
 
399
 
 
400
<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
 
401
&underFDL;
 
402
&underGPL;
 
403
 
 
404
</chapter>
 
405
  
 
406
<appendix id="installation">
 
407
<title>Installation</title>
 
408
 
 
409
&install.intro.documentation;
 
410
 
 
411
 
 
412
<sect1 id="Compilation">
 
413
<title>Compilation and Installation</title>
 
414
 
 
415
&install.compile.documentation;
 
416
 
 
417
</sect1>
 
418
</appendix>
 
419
 
 
420
&documentation.index; 
 
421
</book>
 
422
<!--
 
423
Local Variables:
 
424
mode: sgml
 
425
sgml-minimize-attributes:nil
 
426
sgml-general-insert-case:lower
 
427
sgml-omittag:t
 
428
sgml-shorttag:t
 
429
sgml-namecase-general:t
 
430
sgml-always-quote-attributes:t
 
431
sgml-indent-step:0
 
432
sgml-indent-data:nil
 
433
sgml-parent-document:nil
 
434
sgml-exposed-tags:nil
 
435
sgml-local-catalogs:nil
 
436
sgml-local-ecat-files:nil
 
437
End:
 
438
-->