summaryrefslogtreecommitdiffstats
path: root/doc/ksnake/index.docbook
blob: f43e9164be4b42dbec1d9ebb3a5a3fa282317dc6 (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
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
  <!ENTITY kappname "&ksnake;">
  <!ENTITY package "tdegames">
  <!ENTITY % addindex "IGNORE">
  <!ENTITY % English "INCLUDE">
]>

<book lang="&language;">
<bookinfo>
<title>The &ksnake; Handbook</title>
<authorgroup>
<author>
<firstname>Michel</firstname>
<surname>Filippi</surname>
</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>

<copyright>
<year>2000</year>
<holder>Michel Filippi</holder>
</copyright>

<legalnotice>&FDLNotice;</legalnotice>

<date>2005-12-17</date>
<releaseinfo>0.4.0</releaseinfo>

<abstract>
<para>
Snake Race is a game of speed and agility. You are a hungry snake and are trying
to eat all the apples in the room before getting out!
</para>
</abstract>

<keywordset>
<keyword>KDE</keyword>
<keyword>game</keyword>
<keyword>linux</keyword>
<keyword>race</keyword>
</keywordset>

</bookinfo>

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

<para>
&ksnake; is a game of speed and agility. You are a hungry snake and are trying
to eat all the apples in the room before getting out!
</para>

</chapter>

<chapter id="rules-of-the-game">
<title>Rules of the Game</title>

<sect1 id="to-win">
<title>To Win</title>

<para>
To win &ksnake; you must eat all the apples in the room and leave through the
exit that opens at the top.
</para>

<itemizedlist>
<listitem>
<para>
Each apple you eat makes you grow longer.
</para>
</listitem>
<listitem>
<para>
If you hit a wall, you die.
</para>
</listitem>
<listitem>
<para>
If you hit yourself, you die.
</para>
</listitem>
<listitem>
<para>
If you are hit in the head by a bouncing ball, you die. 
</para>
</listitem>
<listitem>
<para>
If you take too long to eat the apples, more of them appear. 
</para>
</listitem>
</itemizedlist>

</sect1>

<sect1 id="scoring">
<title>Scoring</title>

<sect2>
<title>Before the timer has run out</title>


<para>
Before the timer has run out, you score:
</para>

<itemizedlist>
<listitem>
<para>
1 point for a red apple + a bonus depending on your skill level. 
</para>
</listitem>
<listitem>
<para>
5 points for a gold apple + a bonus for your skill level + 2 points for each
computer snake + 2 points for each bouncing ball.
</para>
</listitem>
<listitem>
<para>
Twice your level number when you exit the room + a bonus depending on your skill
level. 
</para>
</listitem>
</itemizedlist>

</sect2>

<sect2>
<title>After the timer has run out</title>

<para>
After the timer has run out, you score:
</para>

<itemizedlist>
<listitem>
<para>
1 point for a red apple.
</para>
</listitem>
<listitem>
<para>
2 points for a gold apple. 
</para>
</listitem>
<listitem>
<para>
Points equal to your level number when you exit the room + a bonus depending on
your skill level. 
</para>
</listitem>
</itemizedlist>

</sect2>

<sect2>
<title>When the computer snake eats an object</title>

<para>
When the computer snake eats an object you lose:
</para>

<itemizedlist>
<listitem>
<para>
2 points for a red apple. 
</para>
</listitem>
<listitem>
<para>
5 points for a gold apple. 
</para>
</listitem>
</itemizedlist>

</sect2>

<sect2>
<title>Other points</title>

<para>
You score 20 points for killing a computer snake.
</para>

</sect2>

</sect1>
</chapter>

<chapter id="customization">
<title>Customization</title>

<sect1 id="create-your-own-levels">
<title>Create Your Own Levels</title>

<para>
To create your own level, copy one of the levels from <filename
class="directory">$<envar>TDEDIR</envar>/share/apps/ksnake/levels</filename> to
<filename
class="directory">$<envar>HOME</envar>/.trinity/share/apps/ksnake</filename> and
edit it with a bitmap editor. You can then select it in
<menuchoice><guimenu>Settings</guimenu> <guimenuitem>Configure &ksnake;...</guimenuitem>
</menuchoice> in the <guilabel>First Level</guilabel> tab.
</para>

</sect1>

</chapter>

<chapter id="menu-reference">
<title>Menu Reference</title>

<sect1 id="game-menu">
<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>Start a new game</para>
</listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<shortcut>
<keycap>P</keycap>
</shortcut>
<guimenu>Game</guimenu>
<guimenuitem>Pause</guimenuitem>
</menuchoice></term>
<listitem>
<para>Pause the game.</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>Show the High Score dialog.</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>Quits &kappname;.</para>
</listitem>
</varlistentry>
</variablelist>

</sect1>

<sect1 id="settings-menu">
<title>The <guimenu>Settings</guimenu> Menu</title>

<variablelist>
<varlistentry>
<term><menuchoice>
<guimenu>Settings</guimenu><guimenuitem>Show Statusbar</guimenuitem>
</menuchoice></term>
<listitem>
<para>Shows or hides the &ksnake; status bar at the bottom of the screen.</para>
</listitem>
</varlistentry>

<varlistentry>
<term><menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure Shortcuts...</guimenuitem></menuchoice>
</term>
<listitem><para>Select this to open a dialog which lets you define shortcuts
for all menu items in &ksnake;.</para></listitem>
</varlistentry>

<varlistentry>
<term><menuchoice>
<guimenu>Settings</guimenu><guimenuitem>Configure &ksnake;...</guimenuitem>
</menuchoice></term>
<listitem>
<para>Opens the &ksnake; configuration dialog to change &ksnake;
settings.</para>
<para>On the <guilabel>General</guilabel> tab you can set the speed of snakes, 
choose the number of snakes and balls and their behaviour.</para>
<para>Select a background color or an image on the <guilabel>Appearance</guilabel> tab.</para>
<para>Choose a starting level from 1 to 25 on the <guilabel>First Level</guilabel> tab.</para>

</listitem>
</varlistentry>

</variablelist>
</sect1>

<sect1 id="help-menu">
<title>The <guimenu>Help</guimenu> Menu</title>

&help.menu.documentation;

</sect1>

</chapter>

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

<para>
&ksnake; copyright 2000, Michel Filippi
</para>

<para>
Documentation copyright 2000, Michel Filippi and Robert Williams.
</para>

<!-- TRANS:CREDIT_FOR_TRANSLATORS -->

&underFDL;
&underGPL;

</chapter>
</book>