13
13
<!-- please do not change the id -->
14
14
<!-- translators, change lang to the appropriate code -->
16
<title>Four-in-a-Row Manual</title>
16
<title lang="en">Four-in-a-Row Manual</title>
17
17
<abstract role="description">
19
19
The object of Four-in-a-Row is to place four pieces in a vertical,
20
20
horizontal, or diagonal row while the opponent tries to block and
21
21
make his/her own row of four. Four-in-a-Row can be played against
44
44
<legalnotice id="legalnotice">
46
46
Permission is granted to copy, distribute and/or modify this
47
47
document under the terms of the GNU Free Documentation
48
48
License (GFDL), Version 1.1 or any later version published
51
51
a copy of the GFDL at this <ulink type="help" url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS
52
52
distributed with this manual.
54
<para> This manual is part of a collection of GNOME manuals
54
<para lang="en"> This manual is part of a collection of GNOME manuals
55
55
distributed under the GFDL. If you want to distribute this
56
56
manual separately from the collection, you can do so by
57
57
adding a copy of the license to the manual, as described in
58
58
section 6 of the license.
62
62
Many of the names used by companies to distinguish their
63
63
products and services are claimed as trademarks. Where those
64
64
names appear in any GNOME documentation, and the members of
71
71
DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
72
72
UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
73
73
WITH THE FURTHER UNDERSTANDING THAT:
77
<para>DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
77
<para lang="en">DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
78
78
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
79
79
IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
80
80
THAT THE DOCUMENT OR MODIFIED VERSION OF THE
97
<para>UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
97
<para lang="en">UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
98
98
THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
99
99
CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
100
100
INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
146
146
<releaseinfo revision="2.26" role="review"/>
150
150
<revnumber>Four-in-a-Row Manual V2.8</revnumber>
151
<date>Setembre de 2004</date>
151
<date>September 2004</date>
153
<para role="author">Timothy Musson <email>trmusson@ihug.co.nz</email></para>
153
<para role="author" lang="en">Timothy Musson
154
<email>trmusson@ihug.co.nz</email>
154
156
<para role="publisher"/>
155
157
</revdescription>
159
<releaseinfo>This manual describes version 2.12 of Four-in-a-Row.
161
<releaseinfo lang="en">This manual describes version 2.12 of Four-in-a-Row.
163
<title>Feedback</title>
164
<para>To report a bug or make a suggestion regarding the Four-in-a-Row
165
<title lang="en">Feedback</title>
166
<para lang="en">To report a bug or make a suggestion regarding the Four-in-a-Row
165
167
application or this manual, follow the directions in the
166
168
<ulink url="ghelp:user-guide?feedback-bugs" type="help">GNOME Feedback Page</ulink>.
179
181
<title>Introduccion</title>
182
184
<application>Four-in-a-Row</application> is a four-in-a-row game for the GNOME Project.
183
185
The object of the game is to build a line of four of your marbles
184
186
while trying to stop your opponent (human or computer) building a
194
196
<command>gnect</command> on the command line.
198
200
<application>Four-in-a-Row</application> is included in the <filename>GNOME-games</filename> package,
199
201
which is part of the GNOME desktop environment. This document describes
200
202
version 2.8 of <application>Four-in-a-Row</application>.
204
206
Four-in-a-Row also features multiplayer support with two
205
207
human players in hotseat mode.
215
217
<sect1 id="usage">
217
<title>Basic Usage</title>
219
<title lang="en">Basic Usage</title>
219
221
<!-- ===== How to play ===== -->
221
223
<sect2 id="playing">
223
<title>Playing Four-in-a-Row</title>
225
<title lang="en">Playing Four-in-a-Row</title>
226
228
To start a new game of Four-in-a-Row choose <menuchoice><guimenu>Game</guimenu><guimenuitem>New Game</guimenuitem></menuchoice>.
230
232
The <interface>game board</interface> consists of seven columns and
231
233
six rows. Above it, a special row indicates the current player and the marble about to be played. Each move consists of dropping a marble in one of the columns. The marble lands on the topmost empty row of the chosen column.
234
<para>To make a move, click on a column with the mouse. To play with the keyboard, move the marble in the top row with the left and right arrow keys, and drop it in place with the down arrow key. Your marble will drop into the topmost empty row of that column.
236
<para lang="en">To make a move, click on a column with the mouse. To play with the keyboard, move the marble in the top row with the left and right arrow keys, and drop it in place with the down arrow key. Your marble will drop into the topmost empty row of that column.
238
<mediaobject id="mainwindow-fig">
240
<mediaobject id="mainwindow-fig" lang="en">
240
242
<imagedata fileref="figures/mainwindow.png" format="PNG" srccredit="trm"/>
243
245
<phrase>Four-in-a-Row's Main Window</phrase>
245
<caption><para>Four-in-a-Row's Main Window</para></caption>
247
<caption><para lang="en">Four-in-a-Row's Main Window</para></caption>
249
251
The game is won when one of the two players manages to line up four
250
252
of his or her marbles horizontally, vertically or diagonally. If the
251
253
board fills up without a win, the game ends in a draw.
259
261
<title>Comandas</title>
260
262
<anchor id="menubar"/><!-- id for removed section -->
262
<para>To take back a move, choose <menuchoice>
264
<para lang="en">To take back a move, choose <menuchoice>
263
265
<shortcut><keycombo>
264
266
<keysym>Ctrl</keysym><keycap>Z</keycap>
265
267
</keycombo></shortcut>
297
299
<title>Preferéncias</title>
300
302
To change the game's settings, select
301
303
<guimenuitem>Preferences</guimenuitem> from the
302
304
<guimenu>Settings</guimenu> menu. This opens the
303
305
<interface>Preferences Dialog</interface>.
307
309
Configuration options in the <guilabel>Game</guilabel>
314
316
<guilabel>Player One</guilabel> and
315
317
<guilabel>Player Two</guilabel>
320
322
These two columns tell <application>Four-in-a-Row</application> who's playing and, if it is the computer, how hard they play. To play against a friend, select
321
323
Human for both Player One and Player Two.
361
363
<sect1 id="custom">
363
<title>Creating New Themes</title>
365
<title lang="en">Creating New Themes</title>
366
368
This section's included in case you'd like to make your own themes for
367
369
<application>Four-in-a-Row</application>. It assumes you're familiar with basic text editing, graphics
368
370
software and the command line.
373
375
<title>Imatges</title>
376
378
<application>Four-in-a-Row</application>'s tile sets contain six tiles of equal size, lined up
377
379
horizontally. From left to right:
382
<para>Player One's marble as it appears on the game board</para>
385
<para>Player Two's marble as it appears on the game board</para>
388
<para>The game board's background</para>
391
<para>The top row's background</para>
394
<para>Player One's marble as it appears on the top row</para>
397
<para>Player Two's marble as it appears on the top row</para>
384
<para lang="en">Player One's marble as it appears on the game board</para>
387
<para lang="en">Player Two's marble as it appears on the game board</para>
390
<para lang="en">The game board's background</para>
393
<para lang="en">The top row's background</para>
396
<para lang="en">Player One's marble as it appears on the top row</para>
399
<para lang="en">Player Two's marble as it appears on the top row</para>
401
403
<figure id="shot1">
402
<title>An example tile set</title>
404
<title lang="en">An example tile set</title>
404
<screeninfo>This image shows the six tiles in a tile set</screeninfo>
406
<screeninfo lang="en">This image shows the six tiles in a tile set</screeninfo>
405
407
<graphic format="PNG" fileref="figures/tileset.png" srccredit="TRM"/>
410
412
Tiles three and four will be repeated over the game board and
411
413
top row unless a full window background image is specified in the
418
<title lang="en">TIP</title>
418
420
PNG format is recommended for tile sets. The first, second, fifth
419
421
and sixth tiles should contain some transparency if you want the
420
422
background to show through. The third and fourth tiles should be
429
<title lang="en">TIP</title>
429
431
Tiles can be square or rectangular, and any size you like. Most
430
432
of the tile sets that come with <application>Four-in-a-Row</application> use square tiles measuring
431
433
50 pixels by 50 pixels.
436
438
For a full window background image, there's a bit more work to do.
437
439
Let's say your tiles measure 50 by 50 pixels each. The game's display
438
440
measures 7 by 7 tiles, including the top row, so the ideal background
445
<title lang="en">TIP</title>
445
447
<application>Four-in-a-Row</application> will automatically scale the background image if it doesn't
446
448
match the tile set. This means you can make "large" and "small"
447
449
versions of your theme, both using the same background image,
460
462
<sect2 id="directories">
462
<title>Putting It Together</title>
464
<title lang="en">Putting It Together</title>
465
467
The last step is to put your image(s) where <application>Four-in-a-Row</application> can
466
468
find them. You could put them in Four-in-a-row's install directory (which will
467
469
depend on your particular system), but your home directory's probably
472
474
Make a <filename class="directory">~/.gnect</filename> directory,
473
475
and a <filename class="directory">~/.gnect/pixmaps</filename>
474
476
directory. Those names are important, as <application>Four-in-a-Row</application> won't look
479
481
Copy your image(s) into the pixmaps directory.
483
485
If you start <application>Four-in-a-Row</application> from the command line, it'll give you clues about
484
486
any problems it has with your new theme. If it has none, you'll
485
487
find your new theme listed the
486
488
<interface>Preferences Dialog</interface>.
489
<para>Have fun!</para>
491
<para lang="en">Have fun!</para>
517
519
<title>Autors</title>
520
522
<application>Four-in-a-Row</application> was written by Timothy Musson (<email>trmusson@ihug.co.nz</email>)
521
523
and David Neary (<email>bolsh@gimp.org</email>). Various others
522
524
have taken the time to help in many ways since work on <application>Four-in-a-Row</application> began.
525
527
The <ulink type="http" url="http://www.ce.unipr.it/~gbe/velena.html">Velena Engine</ulink>,
526
528
<application>Four-in-a-Row</application>'s main computer player, was written by Giuliano Bertoletti.
527
529
We're grateful to him for allowing us to include his work, without
528
530
which <application>Four-in-a-Row</application> wouldn't be nearly as worthwhile.
531
533
This manual was written by Timothy Musson.
534
536
To report a bug or make a suggestion regarding this application or
535
537
this manual, follow the directions in this
536
538
<ulink url="ghelp:user-guide?feedback-bugs" type="help">document</ulink>.
569
571
This program is distributed in the hope that it will be useful, but
570
572
WITHOUT ANY WARRANTY; without even the implied warranty of
571
573
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
572
574
<citetitle>GNU General Public License</citetitle> for more details.
576
578
A copy of the <citetitle>GNU General Public License</citetitle> is
577
579
included as an appendix to the <citetitle>GNOME Users
578
580
Guide</citetitle>. You may also obtain a copy of the
580
582
Software Foundation by visiting
581
583
<ulink url="http://www.fsf.org" type="http">their Web site</ulink> or
584
586
Free Software Foundation, Inc.
585
587
<street>59 Temple Place</street> - Suite 330
586
588
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>