summaryrefslogtreecommitdiffstats
path: root/doc/ksirtet/index.docbook
blob: 0fa7f366afda40ab4e187e8e8dfb8126b93e5a3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
 <!ENTITY kappname "&ksirtet;">
 <!ENTITY package "tdegames">
 <!ENTITY % English "INCLUDE">
 <!ENTITY % addindex "IGNORE">
]>

<book lang="&language;">
<bookinfo>
<title>The &ksirtet; Handbook</title>
<authorgroup>
<author>
&Nicolas.Hadacek;
</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>


<copyright>
<year>1999</year><year>2000</year>
<holder>&Nicolas.Hadacek;</holder>
</copyright>

<legalnotice>&FDLNotice;</legalnotice>

<date>2005-12-17</date>
<releaseinfo>2.1.11b</releaseinfo>

<abstract>
<para>&ksirtet; is a clone of the well known game Tetris. You must fit the
falling pieces to form full lines.</para>
</abstract>

<keywordset>
<keyword>KDE</keyword>
<keyword>game</keyword>
<keyword>tetris</keyword>
</keywordset>
</bookinfo>

<chapter id="introduction">
<title>Introduction</title>

<para>
&ksirtet; is a clone of the well known game <application>Tetris</application>. You
must fit the falling pieces to form full lines. You can rotate and translate
the falling piece. The game ends when no more pieces can fall, &ie; when your
incomplete lines reach the top of the board.
</para>

<para>
Every time you have destroyed 10 lines, you advance to the next level and the
pieces fall quicker (to be precise, the pieces fall from the top of the screen each
<literal>1/(1+level)</literal> second).
</para>
</chapter>

<chapter id="how-to-play">
<title>How to Play</title>

<sect1 id="handling-the-falling-piece">
<title>Handling the Falling Piece</title>

<para>
You can use the keyboard to rotate, translate or drop down the falling piece. The
keys are configurable via the menu item <menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure Shortcuts...</guimenuitem></menuchoice>.
</para>

</sect1>

<sect1 id="game-types">
<title>Game Types</title>
<para>&ksirtet; supports two types of single player game: Normal and Arcade. In
Normal mode, points totals are kept, and high scores recorded. Also, when advancing
to the next level, play continues without clearing the gameboard. In Arcade
mode, no points totals are kept, although an <guilabel>Elapsed time</guilabel>
counter is shown. When you advance to the next level in Arcade mode, the
gameboard is cleared of pieces.</para>
<para>You can choose the game mode in the <guimenu>Mode</guimenu> menu.</para>
</sect1>

<sect1 id="how-to-gain-points">
<title>How to gain Points</title>

<para>There are two sources of points:</para>

<itemizedlist>
<listitem>
<para>
Dropping down a piece using the <keysym>Down Arrow</keysym> gives a small
number of points which is equal to the drop height. It is not much each time
but is particularly relevant in the earlier levels, when the pieces fall more
slowly.
</para>
</listitem>

<listitem>
<para>
The biggest part of the score comes from destroying full lines. It is very
important to note that destroying multiple lines at the same time gives you a
lot more points. A four-lines destruction is called a <quote>tetris</quote>:
it gives a maximum amount of points.
</para>

<para>
The points gained are 40 for a one-liner, 100 for two lines, 300 for three lines
and 1200 for a tetris. These numbers are multiplied by the current
level. For example, destroying four lines in level 10 gives 12,000 points.
</para>
</listitem>
</itemizedlist>

</sect1>

<sect1 id="options">
<title>Configuring &ksirtet;</title>

<para>
The &ksirtet; configuration is accessed from the menu item
<menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure &ksirtet;...</guimenuitem></menuchoice>. The
options are as follows:
</para>

<sect2 id="game-config">
<title>Game Configuration</title>

<variablelist>

<varlistentry>
<term><guilabel>Initial level:</guilabel></term>
<listitem><para>Set the level which you will play at startup, from 1 (easiest)
to 20 (hardest). Default is level one.</para>
</listitem>
</varlistentry>

<varlistentry><term><guilabel>Direct drop down</guilabel></term>
<listitem><para>If checked, pressing the <keysym>Down Arrow</keysym> will cause
a tile to immediately fall to the bottom of the screen. If unchecked, pressing
the <keysym>Down Arrow</keysym> only causes the piece to fall until the key is released.</para>
</listitem>
</varlistentry>

<varlistentry><term><guilabel>Old rotation style</guilabel></term>
<listitem><para>&ksirtet; has two ways of rotating each piece:
<quote>Old</quote> style and <quote>New</quote> style. Each style uses a
different point to rotate the piece around. Try both, and see which one you prefer.</para>
</listitem>
</varlistentry>

</variablelist>

</sect2>

<sect2 id="appearance-config">
<title>Appearance Configuration</title>

<variablelist>

<varlistentry>
<term><guilabel>Enable animations</guilabel></term>
<listitem><para>If checked, pieces are shown with an
animation (a small rebound effect), when they touch the bottom.</para></listitem>
</varlistentry>

<varlistentry><term><guilabel>Show piece's shadow</guilabel></term>
<listitem><para>If checked, a shadow is placed beneath the game board
showing where the piece will fall.</para></listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Show next piece</guilabel></term>
<listitem><para>If checked, shows the next tile that will fall onto the
game board.</para></listitem>
</varlistentry>

<varlistentry><term><guilabel>Show detailed "removed lines"
field</guilabel></term> <listitem><para>If checked, the <guilabel>Removed
Lines</guilabel> counter on the left of the screen shows how many times each
number of lines have been removed. If unchecked, just the total number removed
is shown.</para>
</listitem>
</varlistentry>
	
<varlistentry>
<term><guilabel>Background</guilabel></term>
<listitem><para>Select the color and the opacity for &ksirtet; background. 
An opacity of zero makes the &ksirtet; background
completely transparent, and a setting of one makes the &ksirtet; background
completely opaque.</para>
</listitem>
</varlistentry>

</variablelist>
</sect2>

<sect2 id="colors-config">
<title>Colors Configuration</title>
<para>Here you can select the colors used for the tiles in &ksirtet;.</para>
</sect2>

<sect2 id="ai-config">
<title>A.I. Configuration</title>
<para>Here you can configure the A.I. in &ksirtet;.</para>
</sect2>

</sect1>

<sect1 id="highscore-configuration">
<title>Configuring Highscores</title>
<para>
The configuration is accessed from
<menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure Highscores...</guimenuitem></menuchoice>. The
options are as follows:
</para>

<sect2 id="highscore-main-config">
<title>The <guilabel>Main</guilabel> Tab</title>

<variablelist>

<varlistentry>
<term><guilabel>Nickname:</guilabel></term>
<listitem><para>Displays your current nickname and allows you to change it.</para>
</listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Comment</guilabel></term>
<listitem><para>A comment about yourself. You choose...</para>
</listitem>
</varlistentry>

<varlistentry>
<term><guilabel>World-wide highscores enabled</guilabel></term>
<listitem><para>If checked and if you are connected to the Internet, 
&ksirtet; will send your score automatically at the end of the game 
to the highscore web server (ksirtet.sf.net).</para></listitem>
</varlistentry>

</variablelist>
</sect2>

<sect2 id="highscore-advanced-config">
<title>The <guilabel>Advanced</guilabel> Tab</title>

<para>This tab displays your <guilabel>Registration Data</guilabel>
on ksirtet.sf.net:</para>

<variablelist>
<varlistentry>
<term><guilabel>Nickname:</guilabel></term>
<listitem><para>Displays your current nickname from the <guilabel>Main</guilabel> tab.</para>
</listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Key:</guilabel></term>
<listitem><para>This key was generated when you registered on ksirtet.sf.net by 
selecting <guilabel>World-wide highscores enabled</guilabel> the first time.
The registration key is used in conjunction with the 
nickname to identify uniquely users, but users cannot have the same nickname.
Click on the <guibutton>Remove</guibutton> button to delete you from the world highscores
list.</para>
</listitem>
</varlistentry>
</variablelist>
</sect2>

</sect1>

<!-- Old description
<variablelist>
<varlistentry>
<term><guilabel>Show tile's shadow</guilabel></term>
<listitem>
<para>
Shows/hides the shadow of the falling piece at the bottom of the board. This
shadow can help to avoid position error when dropping the piece.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Show next tile</guilabel></term>
<listitem>
<para>
Shows/hides the display of the next piece to come.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Enable animations</guilabel></term>
<listitem>
<para>

</para>
</listitem>
</varlistentry>

<varlistentry>
<term><guilabel>Block Size</guilabel></term>
<listitem>
<para>
Lets you change the size of the blocks (and increases the playing field to
match.  The default size is 15 pixels.
</para>
</listitem>
</varlistentry>
</variablelist>
-->

</chapter>

<chapter id="multiplayer">
<title>Multiplayer</title>

<para>
The multiplayer option allows you to play with others players on the same computer. 
You can also play against an <acronym>AI</acronym> (artificial intelligence) player which is currently not
very good.
</para>

<para>
Basically when destroying lines, a player sends <quote>garbage</quote> at the
bottom of the game of his next opponent: nothing for one line destroyed, one
garbage line for two lines destroyed and so on.
</para>

</chapter>

<chapter id="commands">
<title>Command Reference</title>

<sect1 id="ksirtet-mainwindow">
<title>The Main &ksirtet; Window</title>

<sect2>
<title>The <guimenu>Game</guimenu> Menu</title>

<variablelist>

<varlistentry>
<term><menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo>
</shortcut>
<guimenu>Game</guimenu>
<guimenuitem>New</guimenuitem>
</menuchoice></term>
<listitem><para><action>Starts a new game.</action></para></listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<shortcut>
<keycombo><keycap>P</keycap></keycombo>
</shortcut>
<guimenu>Game</guimenu>
<guimenuitem>Pause</guimenuitem>
</menuchoice></term>
<listitem><para><action>Pauses or resumes the game</action></para></listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;<keycap>H</keycap></keycombo>
</shortcut>
<guimenu>Game</guimenu>
<guimenuitem>Show Highscores</guimenuitem>
</menuchoice></term>
<listitem><para><action>Opens</action> a dialog that displays different high score tables.
Clicking on the links below the tables downloads world-wide high scores.
<guibutton>Export</guibutton> the high scores into a file or click on 
<guibutton>Configure</guibutton> to open a dialog to customize your Nickname and add a Comment.
</para></listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo>
</shortcut>
<guimenu>Game</guimenu>
<guimenuitem>Quit</guimenuitem>
</menuchoice></term>
<listitem><para><action>Quits</action> &ksirtet;</para></listitem>
</varlistentry>

</variablelist>

</sect2>

<sect2>
<title>The <guimenu>View</guimenu> Menu</title>

<variablelist>

<varlistentry>
<term><menuchoice><shortcut><keycombo action="simul">
&Ctrl;<keycap>+</keycap></keycombo></shortcut>
<guimenu>View</guimenu>
<guimenuitem>Zoom In</guimenuitem>
</menuchoice></term>
<listitem><para><action>Enlarges the game board
</action></para></listitem>
</varlistentry> 

<varlistentry>
<term><menuchoice><shortcut><keycombo action="simul">
&Ctrl;<keycap>-</keycap></keycombo></shortcut>
<guimenu>View</guimenu>
<guimenuitem>Zoom Out</guimenuitem>
</menuchoice></term>
<listitem><para><action>Reduces the game board size
</action></para></listitem>
</varlistentry> 

</variablelist>

</sect2>

<sect2>
<title>The <guimenu>Mode</guimenu> Menu</title>

<variablelist>

<varlistentry>
<term><menuchoice>
<guimenu>Mode</guimenu>
<guimenuitem>Single Human (Normal)</guimenuitem>
</menuchoice></term>
<listitem><para><action>Sets the multiplayer mode to single
player normal</action>. See <xref linkend="game-types"/>.</para></listitem>
</varlistentry> 

<varlistentry>
<term><menuchoice>
<guimenu>Mode</guimenu>
<guimenuitem>Single Human (Arcade)</guimenuitem>
</menuchoice></term>
<listitem><para><action>Sets the multiplayer mode to single
player arcade</action>. See <xref linkend="game-types"/>.</para></listitem>
</varlistentry> 


<varlistentry>
<term><menuchoice>
<guimenu>Mode</guimenu>
<guimenuitem>Human vs Human</guimenuitem>
</menuchoice></term>
<listitem><para><action>Sets the multiplayer mode to two player with two human
players.</action></para></listitem>
</varlistentry> 

<varlistentry>
<term><menuchoice>
<guimenu>Mode</guimenu>
<guimenuitem>Human vs Computer</guimenuitem>
</menuchoice></term>
<listitem><para><action>Sets the multiplayer mode to two player with one human
and one computer player.</action></para></listitem>
</varlistentry> 

<varlistentry>
<term><menuchoice>
<guimenu>Mode</guimenu>
<guimenuitem>More...</guimenuitem>
</menuchoice></term>
<listitem><para><action>Displays the multiplayer
options dialog.</action></para></listitem> 
</varlistentry>

</variablelist>

</sect2>

<sect2>
<title>The <guimenu>Settings</guimenu> Menu</title>

<variablelist>
<varlistentry>
<term><menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;<keycap>M</keycap></keycombo>
</shortcut>
<guimenu>Settings</guimenu>
<guimenuitem>Show Menubar</guimenuitem>
</menuchoice></term>
<listitem><para><action>Shows or hides the Menubar.</action>To return the
menubar, right-click anywhere on the gameboard and select <guimenuitem>Show
Menubar</guimenuitem>. </para></listitem>
</varlistentry> 

<varlistentry>
<term><menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure Shortcuts...</guimenuitem>
</menuchoice></term>
<listitem><para><action>Displays a standard &kde; key bindings
configuration dialog to change the keyboard shortcuts for &ksirtet;.</action></para></listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure Notifications...</guimenuitem>
</menuchoice></term>
<listitem><para><action>Displays a standard &kde; notifications
configuration dialog to change the audio and visual notifications for &ksirtet;.</action></para></listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure Highscores...</guimenuitem>
</menuchoice></term>
<listitem><para><action>Displays</action> the high score configuration dialog,
in which you can change several settings that affect how &ksirtet; treats highscores.</para></listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure &ksirtet;...</guimenuitem>
</menuchoice></term>
<listitem><para><action>Opens</action> the &ksirtet;
configuration dialog, where you can change the options of the game.</para></listitem>
</varlistentry>

</variablelist>

</sect2>

<sect2 id="help">
<title>The <guimenuitem>Help</guimenuitem> Menu</title>

&help.menu.documentation;

</sect2>

</sect1>

</chapter>

<chapter id="credits-and-licenses">
<title>Credits and Licenses</title>

<sect1 id="developers">
<title>Developers</title>

<para><literal>Erik Eng</literal> - Wrote the generic tetris code</para>
<para>&Nicolas.Hadacek; &Nicolas.Hadacek.mail;</para>
</sect1>

<sect1 id="authors">
<title>Authors</title>
<para>&Nicolas.Hadacek; &Nicolas.Hadacek.mail;</para>
<para>Robert Williams <email>rwilliams@kde.org</email> - Editor</para>
<para>Documentation updated for &kde; 3.2 by &Philip.Rodrigues;.</para>

<!-- TRANS:CREDIT_FOR_TRANSLATORS -->

&underFDL;
&underGPL;
</sect1>


</chapter>



</book>