~ubuntu-branches/ubuntu/precise/gnome-games/precise-proposed

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
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY appversion "2.12">
<!ENTITY manrevision "2.8">
<!ENTITY date "September 2004">
<!ENTITY app "<application>Four-in-a-Row</application>">
<!ENTITY appname "Four-in-a-Row">
<!ENTITY version "2.8">
]>
<!-- ===== DOCUMENT HEADER ===== -->
<article id="index" lang="oc">
<!-- please do not change the id -->
<!-- translators, change lang to the appropriate code -->
  <articleinfo>
    <title lang="en">Four-in-a-Row Manual</title>
    <abstract role="description">
      <para lang="en">
	The object of Four-in-a-Row is to place four pieces in a vertical, 
	horizontal, or diagonal row while the opponent tries to block and
	make his/her own row of four. Four-in-a-Row can be played against 
	another human or the computer.
      </para>
    </abstract>

    <copyright lang="en">
      <year>2001-2002</year>
      <holder>Timothy Musson</holder>
    </copyright>

    <!-- translators: uncomment this:

    <copyright>
     <year>2000</year>
     <holder>ME-THE-TRANSLATOR (Latin translation)</holder>
    </copyright>

    -->

    <publisher role="maintainer"> 
      <publishername>Projècte de documentacion de GNOME</publishername> 
    </publisher> 

      <legalnotice id="legalnotice">
	<para lang="en">
	  Permission is granted to copy, distribute and/or modify this
	  document under the terms of the GNU Free Documentation
	  License (GFDL), Version 1.1 or any later version published
	  by the Free Software Foundation with no Invariant Sections,
	  no Front-Cover Texts, and no Back-Cover Texts.  You can find
	  a copy of the GFDL at this <ulink type="help" url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS
	  distributed with this manual.
         </para>
         <para lang="en"> This manual is part of a collection of GNOME manuals
          distributed under the GFDL.  If you want to distribute this
          manual separately from the collection, you can do so by
          adding a copy of the license to the manual, as described in
          section 6 of the license.
	</para>

	<para lang="en">
	  Many of the names used by companies to distinguish their
	  products and services are claimed as trademarks. Where those
	  names appear in any GNOME documentation, and the members of
	  the GNOME Documentation Project are made aware of those
	  trademarks, then the names are in capital letters or initial
	  capital letters.
	</para>

	<para lang="en">
	  DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED
	  UNDER  THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE
	  WITH THE FURTHER UNDERSTANDING THAT:

	  <orderedlist>
		<listitem>
		  <para lang="en">DOCUMENT IS PROVIDED ON AN "AS IS" BASIS,
                    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
                    IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
                    THAT THE DOCUMENT OR MODIFIED VERSION OF THE
                    DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR
                    A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
                    RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE
                    OF THE DOCUMENT OR MODIFIED VERSION OF THE
                    DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR
                    MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT,
                    YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY
                    CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
                    SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
                    OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS
                    LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED
                    VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER
                    EXCEPT UNDER THIS DISCLAIMER; AND
		  </para>
		</listitem>
		<listitem>
		  <para lang="en">UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL
                       THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE),
                       CONTRACT, OR OTHERWISE, SHALL THE AUTHOR,
                       INITIAL WRITER, ANY CONTRIBUTOR, OR ANY
                       DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION
                       OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH
                       PARTIES, BE LIABLE TO ANY PERSON FOR ANY
                       DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR
                       CONSEQUENTIAL DAMAGES OF ANY CHARACTER
                       INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS
                       OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR
                       MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR
                       LOSSES ARISING OUT OF OR RELATING TO USE OF THE
                       DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT,
                       EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF
                       THE POSSIBILITY OF SUCH DAMAGES.
		  </para>
		</listitem>
	  </orderedlist>
	</para>
  </legalnotice>



    <authorgroup>
      <author lang="en">
        <firstname>Timothy</firstname>
        <surname>Musson</surname>
        <affiliation>
          <!-- <orgname></orgname> -->
          <address><email>trmusson@ihug.co.nz</email></address>
        </affiliation>
      </author>

<!-- This is appropriate place for other contributors: translators,
      maintainers,  etc. Commented out by default.

      <othercredit role="translator">
        <firstname>Latin</firstname> 
        <surname>Translator 1</surname> 
        <affiliation> 
          <orgname>Latin Translation Team</orgname> 
          <address> <email>translator@gnome.org</email> </address> 
        </affiliation>
        <contrib>Latin translation</contrib>
      </othercredit>
-->
    </authorgroup>
	
	<releaseinfo revision="2.26" role="review"/>

    <revhistory>
      <revision lang="en">
        <revnumber>Four-in-a-Row Manual V2.8</revnumber>
        <date>September 2004</date>
        <revdescription>
          <para role="author" lang="en">Timothy Musson
            <email>trmusson@ihug.co.nz</email>
          </para>
          <para role="publisher"/>
        </revdescription>
      </revision>
    </revhistory>

    <releaseinfo lang="en">This manual describes version 2.12 of Four-in-a-Row.
    </releaseinfo>

    <legalnotice>
      <title lang="en">Feedback</title>
      <para lang="en">To report a bug or make a suggestion regarding the Four-in-a-Row
        application or this manual, follow the directions in the
        <ulink url="ghelp:user-guide?feedback-bugs" type="help">GNOME Feedback Page</ulink>.
      </para>
    </legalnotice>
  </articleinfo>


  <!-- ============= Document Body ============================= -->

  <!-- ============= Introduction ============================== -->


  <sect1 id="intro">

    <title>Introduccion</title>

    <para lang="en">
      <application>Four-in-a-Row</application> is a four-in-a-row game for the GNOME Project.
      The object of the game is to build a line of four of your marbles
      while trying to stop your opponent (human or computer) building a
      line of his or her own. A line can be horizontal, vertical or
      diagonal.
    </para>

    <para lang="en">
      To run <application>Four-in-a-Row</application>, select
      <guimenuitem>Four-in-a-Row</guimenuitem> from the
      <guisubmenu>Games</guisubmenu> submenu of the
      <guimenu>Main Menu</guimenu>, or type
      <command>gnect</command> on the command line.
    </para>

    <para lang="en">
      <application>Four-in-a-Row</application> is included in the <filename>GNOME-games</filename> package,
      which is part of the GNOME desktop environment. This document describes
      version 2.8 of <application>Four-in-a-Row</application>.
    </para>

   <para lang="en">
     Four-in-a-Row also features multiplayer support with two 
     human players in hotseat mode.
   </para>


  </sect1>


  <!-- ============= Usage ===================================== -->


  <sect1 id="usage">

    <title lang="en">Basic Usage</title>

    <!-- ===== How to play ===== -->

    <sect2 id="playing">

      <title lang="en">Playing Four-in-a-Row</title>

      <para lang="en">
        To start a new game of Four-in-a-Row choose <menuchoice><guimenu>Game</guimenu><guimenuitem>New Game</guimenuitem></menuchoice>.
      </para>

      <para lang="en">
        The <interface>game board</interface> consists of seven columns and
        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.
      </para>
        
      <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.
      </para>

      <!-- Figure -->
      <mediaobject id="mainwindow-fig" lang="en">
        <imageobject>
          <imagedata fileref="figures/mainwindow.png" format="PNG" srccredit="trm"/>
        </imageobject>
        <textobject>
          <phrase>Four-in-a-Row's Main Window</phrase>
        </textobject>
        <caption><para lang="en">Four-in-a-Row's Main Window</para></caption>
      </mediaobject>

      <para lang="en">
        The game is won when one of the two players manages to line up four
        of his or her marbles horizontally, vertically or diagonally. If the
        board fills up without a win, the game ends in a draw.
      </para>

    </sect2>
    
    <!-- ===== Commands ===== -->  
    
    <sect2 id="commands">
      <title>Comandas</title>
      <anchor id="menubar"/><!-- id for removed section -->
      
      <para lang="en">To take back a move, choose <menuchoice>
                      <shortcut><keycombo>
                      <keysym>Ctrl</keysym><keycap>Z</keycap>
                      </keycombo></shortcut>
                      <guimenuitem>Undo move</guimenuitem>
                    </menuchoice>.
            If you're playing against a friend, this will undo one
            move. If you're playing against the computer, this will
            undo the computer's last move and then yours.
            Repeating this will return the board to its initial
            state.
      </para>
      <para lang="en">Choose <menuchoice>
                      <shortcut><keycombo>
                      <keysym>Ctrl</keysym><keycap>H</keycap>
                      </keycombo></shortcut>
        <guimenuitem>Hint</guimenuitem>
      </menuchoice> to get a suggestion from the computer for your next move.
      This is shown in the status bar.</para>
      
      <para lang="en">
        Choose <menuchoice>
          <guimenuitem>Scores</guimenuitem>
        </menuchoice> to show a tally of wins and draws
        for the current playing session. The scores will be reset to
        zero if Player Selection is changed in Preferences.
      </para>      

      
    </sect2>  

    <!-- ===== Preferences ===== -->

    <sect2 id="prefsdialog">

      <title>Preferéncias</title>

      <para lang="en">
        To change the game's settings, select
        <guimenuitem>Preferences</guimenuitem> from the
        <guimenu>Settings</guimenu> menu. This opens the
        <interface>Preferences Dialog</interface>.
      </para>

      <para lang="en">
        Configuration options in the <guilabel>Game</guilabel>
        tab are:

        <variablelist>

          <varlistentry>
            <term lang="en">
              <guilabel>Player One</guilabel> and
              <guilabel>Player Two</guilabel>
            </term>
            <listitem>
              <para lang="en">

                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
                Human for both Player One and Player Two.

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

          <varlistentry>
            <term lang="en"><guilabel>Theme</guilabel></term>
            <listitem>
              <para lang="en">
                The theme menu lists available themes and lets
                you choose your favourite.
              </para>
            </listitem>
          </varlistentry>

          <varlistentry>
            <term lang="en"><guilabel>Enable Animation</guilabel></term>
            <listitem>
              <para lang="en">
                Here you can toggle the game's animation on or off.
              </para>
            </listitem>
          </varlistentry>

        </variablelist>
      </para>
      <para lang="en">
          Finally there is a <guilabel>Controls</guilabel> tab to
          change the keyboard controls. To change a control, double click the
          appropriate entry and then press the new key.
      </para>

    </sect2>
  </sect1>


  <!-- ===== Custom Themes ===================================== -->


  <sect1 id="custom">

    <title lang="en">Creating New Themes</title>

    <para lang="en">
      This section's included in case you'd like to make your own themes for
      <application>Four-in-a-Row</application>. It assumes you're familiar with basic text editing, graphics
      software and the command line.
    </para>

    <sect2 id="images">

      <title>Imatges</title>

      <para lang="en">
        <application>Four-in-a-Row</application>'s tile sets contain six tiles of equal size, lined up
        horizontally. From left to right:
      </para>

      <orderedlist>
        <listitem>
          <para lang="en">Player One's marble as it appears on the game board</para>
        </listitem>
        <listitem>
          <para lang="en">Player Two's marble as it appears on the game board</para>
        </listitem>
        <listitem>
          <para lang="en">The game board's background</para>
        </listitem>
        <listitem>
          <para lang="en">The top row's background</para>
        </listitem>
        <listitem>
          <para lang="en">Player One's marble as it appears on the top row</para>
        </listitem>
        <listitem>
          <para lang="en">Player Two's marble as it appears on the top row</para>
        </listitem>
      </orderedlist>

      <figure id="shot1">
        <title lang="en">An example tile set</title>
        <screenshot>
          <screeninfo lang="en">This image shows the six tiles in a tile set</screeninfo>
          <graphic format="PNG" fileref="figures/tileset.png" srccredit="TRM"/>
        </screenshot>
      </figure>

      <para lang="en">
        Tiles three and four will be repeated over the game board and
        top row unless a full window background image is specified in the
        theme file.
      </para>

      <tip>
        <title lang="en">TIP</title>
        <para lang="en">
          PNG format is recommended for tile sets. The first, second, fifth
          and sixth tiles should contain some transparency if you want the
          background to show through. The third and fourth tiles should be
          solid, with no transparency, even if you'll be using a full
          window background image with your theme.
        </para>
      </tip>

      <tip>
        <title lang="en">TIP</title>
        <para lang="en">
          Tiles can be square or rectangular, and any size you like. Most
          of the tile sets that come with <application>Four-in-a-Row</application> use square tiles measuring
          50 pixels by 50 pixels.
        </para>
      </tip>

      <para lang="en">
        For a full window background image, there's a bit more work to do.
        Let's say your tiles measure 50 by 50 pixels each. The game's display
        measures 7 by 7 tiles, including the top row, so the ideal background
        image for your tile set measures 350 by 350 pixels.
      </para>

      <tip>
        <title lang="en">TIP</title>
        <para lang="en">
          <application>Four-in-a-Row</application> will automatically scale the background image if it doesn't
          match the tile set. This means you can make "large" and "small"
          versions of your theme, both using the same background image,
          just by having a large and a small version of your tile set.
        </para>
      </tip>

      <para lang="en">
        So, you now have a tile set and perhaps a background image to
        go with it. The next step is to put them in the right place.
      </para>

    </sect2>


    <sect2 id="directories">

      <title lang="en">Putting It Together</title>

      <para lang="en">
        The last step is to put your image(s) where <application>Four-in-a-Row</application> can
        find them. You could put them in Four-in-a-row's install directory (which will
        depend on your particular system), but your home directory's probably
        a better idea.
      </para>

      <para lang="en">
        Make a <filename class="directory">~/.gnect</filename> directory,
        and a <filename class="directory">~/.gnect/pixmaps</filename>
        directory. Those names are important, as <application>Four-in-a-Row</application> won't look
        anywhere else.
      </para>

      <para lang="en">
        Copy your image(s) into the pixmaps directory.
      </para>

      <para lang="en">
        If you start <application>Four-in-a-Row</application> from the command line, it'll give you clues about
        any problems it has with your new theme. If it has none, you'll
        find your new theme listed the
        <interface>Preferences Dialog</interface>.
      </para>

      <para lang="en">Have fun!</para>

    </sect2>


  </sect1>


  <!-- ===== Bugs ============================================== -->


  <sect1 id="bugs">

    <title lang="en">Known Bugs and Limitations</title>

    <para lang="en">
      Occasionally a marble-dropping animation doesn't look as smooth
      as it should.
    </para>

  </sect1>


  <!-- ===== Authors =========================================== -->


  <sect1 id="authors">

    <title>Autors</title>

    <para lang="en">
      <application>Four-in-a-Row</application> was written by Timothy Musson (<email>trmusson@ihug.co.nz</email>)
      and David Neary (<email>bolsh@gimp.org</email>). Various others
      have taken the time to help in many ways since work on <application>Four-in-a-Row</application> began.
    </para>
    <para lang="en">
      The <ulink type="http" url="http://www.ce.unipr.it/~gbe/velena.html">Velena Engine</ulink>,
      <application>Four-in-a-Row</application>'s main computer player, was written by Giuliano Bertoletti.
      We're grateful to him for allowing us to include his work, without
      which <application>Four-in-a-Row</application> wouldn't be nearly as worthwhile.
    </para>
    <para lang="en">
      This manual was written by Timothy Musson.
    </para>
    <para lang="en">
   To report a bug or make a suggestion regarding this application or
   this manual, follow the directions in this 
   <ulink url="ghelp:user-guide?feedback-bugs" type="help">document</ulink>.
    </para>


<!-- For translations: uncomment this:

  <para>
    Latin translation was done by ME
    (<email>MYNAME@MYADDRESS</email>). Please send all comments and
    suggestions regarding this translation to SOMEWHERE.
  </para>

-->

  </sect1>


  <!-- ============= License =================================== -->


  <sect1 id="license">

    <title>Licéncia</title>

    <para lang="en">
      This program is free software; you can redistribute it and/or
      modify it under the terms of the <citetitle>GNU General Public
      License</citetitle> as published by the Free Software Foundation;
      either version 2 of the License, or (at your option) any later
      version.
    </para>

    <para lang="en">
      This program is distributed in the hope that it will be useful, but
      WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      <citetitle>GNU General Public License</citetitle> for more details.
    </para>

    <para lang="en">
      A copy of the <citetitle>GNU General Public License</citetitle> is
      included as an appendix to the <citetitle>GNOME Users
      Guide</citetitle>.  You may also obtain a copy of the
      <citetitle>GNU General Public License</citetitle> from the Free
      Software Foundation by visiting
      <ulink url="http://www.fsf.org" type="http">their Web site</ulink> or
      by writing to
      <address lang="en">
        Free Software Foundation, Inc.
        <street>59 Temple Place</street> - Suite 330
        <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>
        <country>USA</country>
      </address>
    </para>

  </sect1>

</article>