-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvms-empire.xml
1087 lines (1011 loc) · 40.4 KB
/
vms-empire.xml
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
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<refentry id='vmsempire6'>
<!-- See the file COPYING, distributed with empire, for restriction
and warranty information. -->
<refmeta>
<refentrytitle>Empire</refentrytitle>
<manvolnum>6</manvolnum>
<refmiscinfo class='date'>March 29, 1990</refmiscinfo>
<refmiscinfo class='productname'>empire</refmiscinfo>
<refmiscinfo class='source'>empire</refmiscinfo>
<refmiscinfo class='manual'>Games</refmiscinfo>
</refmeta>
<refnamediv>
<refname>empire</refname>
<refpurpose>the wargame of the century</refpurpose>
</refnamediv>
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>empire</command>
<arg choice='opt'>-w <replaceable>water</replaceable></arg>
<arg choice='opt'>-s <replaceable>smooth</replaceable></arg>
<arg choice='opt'>-d <replaceable>delay</replaceable></arg>
<arg choice='opt'>-S <replaceable>save-interval</replaceable></arg>
<arg choice='opt'>-f <replaceable>savefile</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id='description'><title>DESCRIPTION</title>
<para>Empire is a simulation of a full-scale war between two
emperors, the computer and you. Naturally, there is only
room for one, so the object of the game is to destroy
the other. The computer plays by the same rules that you
do.</para>
<variablelist>
<varlistentry>
<term><option>-w</option><replaceable>water</replaceable></term>
<listitem>
<para>This option controls the amount of water on the map.
This is given as the percentage of the map which should
be water. The default is 70% water. <emphasis remap='I'>water</emphasis>
must be an integer in the between 10 and 90 inclusive.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-s</option><replaceable>smooth</replaceable></term>
<listitem>
<para>This controls the smoothness of the map. A low value
will produce a highly chaotic map with lots of small
islands or lakes. A high value will produce a map
with a few scattered continents. Be forewarned that
a high value will cause the program to take a long
time to start up. The default value is 5.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d</option><replaceable>delay</replaceable></term>
<listitem>
<para>This option controls the length of time the computer will
delay after printing informational messages at the top of
the screen. <emphasis remap='I'>delay</emphasis> is specified in milliseconds. The
default value is 2000 which allows the user two seconds to
read a message.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='examples'><title>EXAMPLES</title>
<para>empire -w90 -s2</para>
<para>This produces a map with many islands.</para>
<para>empire -w50 -s0</para>
<para>This produces a really strange map. These values
are not recommended for the faint at heart.</para>
<para>empire -w10</para>
<para>This produces a map with lots of land and a few lakes.
The computer will have a hard time on this sort of map
as it will try and produce lots of troop transports,
which are fairly useless.</para>
<para>There are two other option.</para>
<variablelist>
<varlistentry>
<term><option>-S</option><replaceable>interval</replaceable></term>
<listitem>
<para>sets the <emphasis remap='I'>save interval</emphasis> for the
game (default is 10). Once per <emphasis remap='I'>interval</emphasis>
turns the game state will be automatically saved after your move. It
will be saved in any case when you change modes or do various special
things from command mode, such as `M' or `N'.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-f</option><replaceable>savefile</replaceable></term>
<listitem>
<para>Set the save file name (normally empsave.dat).</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='introduction'><title>INTRODUCTION</title>
<para>Empire is a war game played between you and the computer. The world
on which the game takes place is a square rectangle containing cities,
land, and water. Cities are used to build armies, planes, and ships
which can move across the world destroying enemy pieces, exploring,
and capturing more cities. The objective of the game is to destroy
all the enemy pieces, and capture all the cities.</para>
<para>The world is a rectangle 60 by 100 squares on a side. The world
consists of sea (.), land (+), uncontrolled cities (*),
computer-controlled cities (X), and cities that you control
(O).</para>
<para>The world is displayed on the player's screen during movement.
(On terminals with small screens, only a portion of the world is shown
at any one time.) Each piece is represented by a unique character on
the map. With a few exceptions, you can only have one piece on a
given location. On the map, you are shown only the 8 squares adjacent
to your units. This information is updated before and during each of
your moves. The map displays the most recent information
known.</para>
<para>The game starts by assigning you one city and the
computer one city. Cities can produce new pieces. Every
city that you own produces more pieces for you according
to the cost of the desired piece. The typical play of the
game is to issue the Automove command until you decide
to do something special. During movement in each round,
the player is prompted to move each piece that does not
otherwise have an assigned function.</para>
<para>Map coordinates are 4-digit numbers. The first two
digits are the row, the second two digits are the
column.</para>
</refsect1>
<refsect1 id='pieces'><title>PIECES</title>
<para>The pieces are as follows:</para>
<informaltable pgwide='0' frame='all'>
<tgroup cols='7' align='center'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<colspec colname='c4'/>
<colspec colname='c5'/>
<colspec colname='c6'/>
<colspec colname='c7'/>
<tbody>
<row rowsep='1'>
<entry align='left' colsep='1'>Piece</entry>
<entry align='center' colsep='1'>You</entry>
<entry align='center' colsep='1'>Enemy</entry>
<entry align='right' colsep='1'>Moves</entry>
<entry align='right' colsep='1'>Hits</entry>
<entry align='right' colsep='1'>Str</entry>
<entry align='center'>Cost</entry>
</row>
<row>
<entry align='left' colsep='1'>Army</entry>
<entry align='center' colsep='1'>A</entry>
<entry align='center' colsep='1'>a</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='center'>5(6)</entry>
</row>
<row>
<entry align='left' colsep='1'>Fighter</entry>
<entry align='center' colsep='1'>F</entry>
<entry align='center' colsep='1'>f</entry>
<entry align='right' colsep='1'>8</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='center'>10(12)</entry>
</row>
<row>
<entry align='left' colsep='1'>Patrol Boat</entry>
<entry align='center' colsep='1'>P</entry>
<entry align='center' colsep='1'>p</entry>
<entry align='right' colsep='1'>4</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='center'>15(18)</entry>
</row>
<row>
<entry align='left' colsep='1'>Destroyer</entry>
<entry align='center' colsep='1'>D</entry>
<entry align='center' colsep='1'>d</entry>
<entry align='right' colsep='1'>2</entry>
<entry align='right' colsep='1'>3</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='center'>20(24)</entry>
</row>
<row>
<entry align='left' colsep='1'>Submarine</entry>
<entry align='center' colsep='1'>S</entry>
<entry align='center' colsep='1'>s</entry>
<entry align='right' colsep='1'>2</entry>
<entry align='right' colsep='1'>2</entry>
<entry align='right' colsep='1'>3</entry>
<entry align='center'>20(24)</entry>
</row>
<row>
<entry align='left' colsep='1'>Troop Transport</entry>
<entry align='center' colsep='1'>T</entry>
<entry align='center' colsep='1'>t</entry>
<entry align='right' colsep='1'>2</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='center'>30(36)</entry>
</row>
<row>
<entry align='left' colsep='1'>Aircraft Carrier</entry>
<entry align='center' colsep='1'>C</entry>
<entry align='center' colsep='1'>c</entry>
<entry align='right' colsep='1'>2</entry>
<entry align='right' colsep='1'>8</entry>
<entry align='right' colsep='1'>1</entry>
<entry align='center'>30(36)</entry>
</row>
<row>
<entry align='left' colsep='1'>Battleship</entry>
<entry align='center' colsep='1'>B</entry>
<entry align='center' colsep='1'>b</entry>
<entry align='right' colsep='1'>2</entry>
<entry align='right' colsep='1'>10</entry>
<entry align='right' colsep='1'>2</entry>
<entry align='center'>40(48)</entry>
</row>
<row>
<entry align='left' colsep='1'>Satellite</entry>
<entry align='center' colsep='1'>Z</entry>
<entry align='center' colsep='1'>z</entry>
<entry align='right' colsep='1'>10</entry>
<entry align='right' colsep='1'>--</entry>
<entry align='right' colsep='1'>--</entry>
<entry align='center'>50(60)</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>The second column shows the map representation for your
units.</para>
<para>The third shows the representations of enemy units.</para>
<para>Moves is the number of squares that the unit can move in a
single round.</para>
<para>Hits is the amount of damage a unit can take before it
is destroyed.</para>
<para>Strength is the amount of damage a unit can inflict upon an
enemy during each round of an attack.</para>
<para>Cost is the number of rounds needed for a city to produce
the piece.</para>
<para>The number in parenthesis is the cost for a city to
produce the first unit.</para>
<para>Each piece has certain advantages associated with it that
can make it useful. One of the primary strategic aspects
of this game is deciding which pieces will be produced
and in what quantities.</para>
<para><emphasis remap='B'>Armies</emphasis> can only move on land, and
are the only piece that can move on land. Only armies can capture
cities. This means that you must produce armies in order to win the
game. Armies have a 50% chance of capturing a city when they attack.
(Attacking one's own city results in the army's destruction. Armies
that move onto the sea will drown. Armies can attack objects at sea,
but even if they win, they will drown.) Armies can be carried by
troop transports. If an army is moved onto a troop transport, then
whenever the transport is moved, the army will be moved with the
transport. You cannot attack any piece at sea while on a
transport.</para>
<para><emphasis remap='B'>Fighters</emphasis> move over both land and
sea, and they move 8 squares per round. Their high speed and great
mobility make fighters ideal for exploring. However, fighters must
periodically land at user-owned cities for refueling. A fighter can
travel 32 squares without refueling. Fighters are also shot down if
they attempt to fly over a city which is not owned by the user.</para>
<para><emphasis remap='B'>Patrol boats</emphasis> are fast but lightly
armored. Therefore they are useful for patrolling ocean waters and
exploring. In an attack against a stronger boat, however, patrol
boats will suffer heavy casualties.</para>
<para><emphasis remap='B'>Destroyers</emphasis> are fairly heavily
armored and reasonably quick to produce. Thus they are useful for
destroying enemy transports which may be trying to spread the enemy
across the face of the world.</para>
<para>When a <emphasis remap='B'>submarine</emphasis> scores a hit, 3
hits are exacted instead of 1. Thus submarines can inflict heavy
damage in a fight against heavily armored boats. Notice that healthy
submarines will typically defeat healthy destroyers two-thirds of the
time. However, a submarine will defeat a fighter about two-thirds of
the time, while a destroyer will defeat a fighter three-fourths of the
time.</para>
<para><emphasis remap='B'>Troop transports</emphasis> are the only
pieces that can carry armies. A maximum of six armies can be carried
by a transport. On any world containing a reasonable amount of water,
transports will be a critical resource in winning the game. Notice
that the weakness of transports implies they need protection from
stronger ships.</para>
<para><emphasis remap='B'>Aircraft carriers</emphasis> are the only
ships that can carry fighters. Carriers carry a maximum of the number
of hits left of fighters. Fighters are refueled when they land on a
carrier.</para>
<para><emphasis remap='B'>Battleships</emphasis> are similar to
destroyers except that they are much stronger.</para>
<para><emphasis remap='B'>Satellites</emphasis> are only useful for reconnaissance. They can not
be attacked. They are launched in a random diagonal orbit, and
stay up for 50 turns. They can see one square farther than other
objects.</para>
<para>All ships can move only on the sea. Ships can also dock in a
user-owned city. Docked ships have damage repaired at the
rate of 1 hit per turn. Ships which have suffered a lot
of damage will move more slowly.</para>
<para>Because of their ability to be repaired, ships with lots of hits
such as Carriers and Battleships have an additional advantage. After
suffering minor damage while destroying enemy shipping, these ships
can sail back to port and be quickly repaired before the enemy has
time to replenish her destroyed shipping.</para>
<para>The following table gives the probability that the piece listed
on the side will defeat the piece listed at the top in a battle.
(The table assumes that both pieces are undamaged.)</para>
<informaltable pgwide='0' frame='all'>
<tgroup cols='6' align='center'>
<colspec colname='c1'/>
<colspec colname='c2'/>
<colspec colname='c3'/>
<colspec colname='c4'/>
<colspec colname='c5'/>
<colspec colname='c6'/>
<tbody>
<row rowsep='1'>
<entry align='left' colsep='1'>AFPT</entry>
<entry align='center' colsep='1'>D</entry>
<entry align='center' colsep='1'>S</entry>
<entry align='center' colsep='1'>C</entry>
<entry align='center' colsep='1'>B</entry>
<entry align='center'></entry>
</row>
<row>
<entry align='left' colsep='1'>AFPT</entry>
<entry align='center' colsep='1'>50.0%</entry>
<entry align='center' colsep='1'>12.5%</entry>
<entry align='center' colsep='1'>25.0%</entry>
<entry align='center' colsep='1'>00.391%</entry>
<entry align='center'>00.0977%</entry>
</row>
<row>
<entry align='left' colsep='1'>D</entry>
<entry align='center' colsep='1'>87.5%</entry>
<entry align='center' colsep='1'>50.0%</entry>
<entry align='center' colsep='1'>25.0%</entry>
<entry align='center' colsep='1'>05.47%</entry>
<entry align='center'>00.537%</entry>
</row>
<row>
<entry align='left' colsep='1'>S</entry>
<entry align='center' colsep='1'>75.0%</entry>
<entry align='center' colsep='1'>75.0%</entry>
<entry align='center' colsep='1'>50.0%</entry>
<entry align='center' colsep='1'>31.3%</entry>
<entry align='center'>06.25%</entry>
</row>
<row>
<entry align='left' colsep='1'>C</entry>
<entry align='center' colsep='1'>99.6%</entry>
<entry align='center' colsep='1'>94.5%</entry>
<entry align='center' colsep='1'>68.7%</entry>
<entry align='center' colsep='1'>50.0%</entry>
<entry align='center'>04.61%</entry>
</row>
<row>
<entry align='left' colsep='1'>B</entry>
<entry align='center' colsep='1'>99.9%</entry>
<entry align='center' colsep='1'>99.5%</entry>
<entry align='center' colsep='1'>93.8%</entry>
<entry align='center' colsep='1'>95.4%</entry>
<entry align='center'>50.0%</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para>Notice, however, that when a ship has been damaged, the odds of
being defeated can go up quite a bit. For example, a healthy
submarine has a 25% chance of defeating a battleship that has
had one hit of damage done to it, and a healthy submarine has
a 50% chance of defeating a carrier which has suffered two hits
of damage.</para>
</refsect1>
<refsect1 id='movement_functions'><title>MOVEMENT FUNCTIONS</title>
<para>There are a variety of movement functions. The movement functions
of pieces can be specified in user mode and edit mode.
Cities can have movement functions set for each type of piece.
When a movement function for a type of pieces is set for a city,
then every time that type of piece appears in the city, the piece
will acquire that movement function. Be forewarned that moving
loaded transports or loaded carriers into a city can have undesirable
side effects.</para>
<para>Normally, when a movement
function has been specified, the piece will continue moving according to
that function until one of the following happen:</para>
<itemizedlist>
<listitem>
<para>An enemy piece or unowned city appears next to the piece. In this case
the piece will be completely awoken, unless its movement function has
been set to a specific destination.
Armies on ships and pieces inside
cities will not be awoken if the enemy piece is gone by the time it is
their turn to move.</para>
</listitem>
<listitem>
<para>You explicitly awaken the piece.</para>
</listitem>
<listitem>
<para>The piece can no longer move in accordance with its programmed function.
In this case, the piece will awaken <emphasis remap='I'>temporarily</emphasis>. You will be asked
to move the piece at which time you may awaken it.</para>
</listitem>
<listitem>
<para>The piece is a fighter which has just enough fuel (plus a small reserve)
to get to the nearest city.
In this case,
the piece will awaken completely, unless its movement function has
been set to a specific destination, or its movement function has been
set to <emphasis remap='I'>land</emphasis>.</para>
</listitem>
</itemizedlist>
<para>The rationale behind this complexity is that fighters must be awoken
completely before they are out of range of a city
to prevent one from accidentally forgetting to waken the
fighter and then watching it fly off to its doom. However, it is presumed
that when a path is set for the fighter, the fighter is not in danger of
running out of fuel.</para>
<para>Pieces do not completely awaken when their function has been set to a
destination because it is slightly time consuming to reset the destination,
but very simple (one keystroke) to wake the piece.</para>
<para>The movement functions are:</para>
<variablelist>
<varlistentry>
<term><emphasis remap='B'>Attack</emphasis></term>
<listitem>
<para>This function applies only to armies. When this function is set,
the army will move toward the nearest enemy city, unowned city, or
enemy army. This is useful when fighting off an invading enemy or
taking over a new continent. When an army is set to this mode,
it will also explore nearby territory. This tends to make
the "grope" movement mode pretty useless.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Awake</emphasis></term>
<listitem>
<para>When pieces are awake, you will be asked for the direction in which
the piece should move on each turn.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Fill</emphasis></term>
<listitem>
<para>This function applies to carriers and transports. When this function is
specified, these ships sleep until they have been filled with fighters or
armies respectively.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Grope</emphasis></term>
<listitem>
<para>This function causes a piece to explore. The piece heads toward
the nearest unseen square of the map on each of its moves. Some
attempt is made to explore in an optimal fashion.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Land</emphasis></term>
<listitem>
<para>This function applies to fighters and causes the fighter to head toward
the nearest transport or carrier.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Random</emphasis></term>
<listitem>
<para>This movement function causes a piece to move at random to an adjacent
empty square.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Sentry</emphasis></term>
<listitem>
<para>This movement function puts a piece to sleep.
The function of a city cannot be set to 'sleep'.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Transport</emphasis></term>
<listitem>
<para>This movement function only works on armies. The army sleeps until
an unfull transport passes by, at which point the army wakes up and
boards the transport.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Upgrade</emphasis></term>
<listitem>
<para>This movement function only works with ships. The ship will move
to the nearest owned city and remain there until it is repaired.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'><dir></emphasis></term>
<listitem>
<para>Pieces can be set to move in a specified direction.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'><dest></emphasis></term>
<listitem>
<para>Pieces can be set to move toward a specified square. In this movement
mode, pieces take a shortest path toward the destination. Pieces moving
in accordance with this function prefer diagonal moves that explore
territory. Because of this, the movement of the piece may be
non-intuitive.</para>
</listitem>
</varlistentry>
</variablelist>
<para>As examples of how to use these movement functions, typically
when I have a new city on a continent, I set the Army function of the
city to <emphasis remap='I'>attack</emphasis>. Whenever an army is
produced, it merrily goes off on its way exploring the continent and
moving towards unowned cities or enemy armies or cities.</para>
<para>I frequently set the ship functions for cities that are far from the
front to automatically move ships towards the front.</para>
<para>When I have armies on a continent, but there is nothing to
explore or attack, I move the army to the shore and use the <emphasis
remap='I'>transport</emphasis> function to have that army hop aboard
the first passing transport.</para>
</refsect1>
<refsect1 id='commands'><title>COMMANDS</title>
<para>There are three command modes. The first of these is "command mode".
In this mode, you give commands that affect the game as a whole.
In the second mode, "move mode", you give commands to move your
pieces. The third mode is "edit mode", and in this mode you can
edit the functions of your pieces and examine various portions of
the map.</para>
<para>All commands are one character long. The full mnemonic names
are listed below as a memorization aid. The mnemonics are somewhat
contrived because there are so few characters in the English language.
Too bad this program isn't written in Japanese, neh?</para>
<para>In all command modes, typing "H" will print out a screen of help
information, and typing <ctrl-L> will redraw the screen.</para>
</refsect1>
<refsect1 id='command_mode'><title>COMMAND MODE</title>
<para>In command mode, the computer will prompt you for your orders.
The following commands can be given at this time:</para>
<variablelist>
<varlistentry>
<term><emphasis remap='B'>Automove</emphasis></term>
<listitem>
<para>Enter automove mode. This command begins a new round of movement.
You will remain in move mode after each of the computer's turns.
(In move mode, the "O" command will return you to command mode
after the computer finishes its next turn.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>City</emphasis></term>
<listitem>
<para>Give the computer a random unowned city. This command is useful if you
find that the computer is getting too easy to beat.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Date</emphasis></term>
<listitem>
<para>The current round is displayed.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Examine</emphasis></term>
<listitem>
<para>Examine the enemy's map. This command is only valid after the computer
has resigned.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>File</emphasis></term>
<listitem>
<para>Print a copy of the map to the specified file.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Give</emphasis></term>
<listitem>
<para>This command gives the computer a free move.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>J</emphasis></term>
<listitem>
<para>Enter edit mode where you can examine and change the functions
associated with your pieces and cities.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Move</emphasis></term>
<listitem>
<para>Enter move mode for a single round.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>N</emphasis></term>
<listitem>
<para>Give the computer the number of free moves you specify.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Print</emphasis></term>
<listitem>
<para>Display a sector on the screen.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Quit</emphasis></term>
<listitem>
<para>Quit the game.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Restore</emphasis></term>
<listitem>
<para>Restore the game from empsave.dat.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Save</emphasis></term>
<listitem>
<para>Save the game in empsave.dat.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Trace</emphasis></term>
<listitem>
<para>This command toggles a flag. When the flag is set,
after each move, either yours or the computer's,
a picture of the world is written out to the file
'empmovie.dat'. <emphasis remap='B'>Watch out! This command produces lots of
output.</emphasis></para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Watch</emphasis></term>
<listitem>
<para>This command allows you to watch a saved movie.
The movie is displayed in a condensed version so that
it will fit on a single screen, so the output may be
a little confusing. This command is only legal if the
computer resigns. If you lose the game, you cannot replay
a movie to learn the secrets of how the computer beat you.
Nor can you replay a movie to find out the current positions
of the computer's pieces. When replaying a movie, it is
recommended that you use the <option>-d</option> option to set the delay
to around 2000 milliseconds or so. Otherwise the screen will be
updated too quickly for you to really grasp what is going on.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Zoom</emphasis></term>
<listitem>
<para>Display a condensed version of the map on the screen. The user map is
divided into small rectangles. Each rectangle is displayed as one square
on the screen. If there is a city in a rectangle, then it
is displayed. Otherwise enemy pieces are displayed, then user pieces,
then land, then water, and then unexplored territory. When pieces are
displayed, ships are preferred to fighters and armies.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 id='move_mode'><title>MOVE MODE</title>
<para>In move mode, the cursor will appear on the screen at the position
of each piece that needs to be moved. You can then give commands
to move the piece. Directions to move are specified by the
following keys:</para>
<literallayout>
<emphasis remap='5'>
QWE
A D
ZXC
</emphasis>
</literallayout>
<para>The arrow and keypad keys on your terminal, if any, should also
work.</para>
<para>These keys move in the direction of the key from S. The
characters are not echoed and only 1 character is
accepted, so there is no need for a <Return>. Hit the <Space>
bar if you want the piece to stay put.</para>
<para>Other commands are:</para>
<variablelist>
<varlistentry>
<term><emphasis remap='B'>Build</emphasis></term>
<listitem>
<para>Change the production of a city.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Fill</emphasis></term>
<listitem>
<para>Set the function of a troop transport or aircraft carrier to
<emphasis remap='I'>fill</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Grope</emphasis></term>
<listitem>
<para>Set the function of a piece to <emphasis remap='I'>grope</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>I</emphasis><emphasis remap='I'>dir</emphasis></term>
<listitem>
<para>Set the direction for a piece to move.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>J</emphasis></term>
<listitem>
<para>Enter edit mode.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Kill</emphasis></term>
<listitem>
<para>Wake up the piece. If the piece is a transport or carrier,
pieces on board will not be awoken.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Land</emphasis></term>
<listitem>
<para>Set a fighter's function to <emphasis remap='I'>land</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Out</emphasis></term>
<listitem>
<para>Cancel automove mode. At the end of the round, you will
be placed in command mode.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Print</emphasis></term>
<listitem>
<para>Redraw the screen.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Random</emphasis></term>
<listitem>
<para>Set a piece's function to <emphasis remap='I'>random</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Sentry</emphasis></term>
<listitem>
<para>Set a piece's function to <emphasis remap='I'>sentry</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Transport</emphasis></term>
<listitem>
<para>Set an army's function to <emphasis remap='I'>transport</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Upgrade</emphasis></term>
<listitem>
<para>Set a ship's function to <emphasis remap='I'>upgrade</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>V</emphasis><emphasis remap='I'>piece func</emphasis></term>
<listitem>
<para>Set the city movement function for the specified piece
to the specified function. For example, typing "VAY" would
set the city movement function for armies to <emphasis remap='I'>attack</emphasis>. Whenever
an army is produced in the city (or whenever a loaded transport
enters the city), the army's movement function
would be set to <emphasis remap='I'>attack</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Y</emphasis></term>
<listitem>
<para>Set an army's function to <emphasis remap='I'>attack</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>?</emphasis></term>
<listitem>
<para>Display information about the piece. The
function, hits left, range, and number of items on board are
displayed.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Attacking something is accomplished by moving onto the
square of the unit you wish to attack. Hits are traded
off at 50% probability of a hit landing on one or the
other units until one unit is totally destroyed. There
is only 1 possible winner.</para>
<para>You are "allowed" to do <emphasis remap='B'>fatal</emphasis>
things like attack your own cities or other pieces. If you try to
make a fatal move, the computer will warn you and give you a chance to
change your mind.</para>
<para>You cannot move onto the edge of the world.</para>
</refsect1>
<refsect1 id='edit_mode'><title>EDIT MODE</title>
<para>In edit mode, you can move around the world and examine pieces
or assign them new functions.
To move the cursor around, use the standard direction
keys.
Other commands are:</para>
<variablelist>
<varlistentry>
<term><emphasis remap='B'>Build</emphasis></term>
<listitem>
<para>Change the production of the city under the cursor.
The program will prompt for the new production, and you
should respond with the key corresponding to the letter of the piece
that you want produced.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Fill</emphasis></term>
<listitem>
<para>Set a transport's or carrier's function to <emphasis remap='I'>fill</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Grope</emphasis></term>
<listitem>
<para>Set a piece's function to <emphasis remap='I'>grope</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>I</emphasis><emphasis remap='I'>dir</emphasis></term>
<listitem>
<para>Set the function of a piece (or city) to the specified direction.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Kill</emphasis></term>
<listitem>
<para>Wake all pieces at the current location. If the location is a city,
the fighter path will also be canceled.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Mark</emphasis></term>
<listitem>
<para>Select the piece or city at the current location. This command
is used with the "N" command.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>N</emphasis></term>
<listitem>
<para>Set the destination of the piece previously selected with the "M"
command to the current square.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Out</emphasis></term>
<listitem>
<para>Exit edit mode.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Print</emphasis><emphasis remap='I'>sector</emphasis></term>
<listitem>
<para>Display a new sector of the map. The map is divided into
ten sectors of size 20 by 70. Sector zero is in the upper-left
corner of the map. Sector four is in the lower-left corner of
the map. Sector five is in the upper-right corner, and sector
nine is in the lower-right corner.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Random</emphasis></term>
<listitem>
<para>Set a piece to move randomly.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Sentry</emphasis></term>
<listitem>
<para>Put a piece to sleep.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Transport</emphasis></term>
<listitem>
<para>Set an army's function to <emphasis remap='I'>transport</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Upgrade</emphasis></term>
<listitem>
<para>Set a ship's function to <emphasis remap='I'>upgrade</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>V</emphasis><emphasis remap='I'>piece func</emphasis></term>
<listitem>
<para>Set the city movement function for a piece.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>Y</emphasis></term>
<listitem>
<para>Set an army's function to <emphasis remap='I'>attack</emphasis>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><emphasis remap='B'>?</emphasis></term>
<listitem>
<para>Display information about a piece or city.
For a city, the production, time of completion of
the next piece, movement functions, and the number of fighters and ships
in the city are displayed.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Note that you cannot directly affect anything inside a city with
the editor.</para>
</refsect1>
<refsect1 id='hints'><title>HINTS</title>
<para>After you have played this game for a while, you will probably
find that the computer is immensely easy to beat. Here are some
ideas you can try that may make the game more interesting.</para>
<itemizedlist>
<listitem>
<para>Give the computer one or more extra cities before starting
the game.</para>
</listitem>
<listitem>
<para>Try playing the game with a low smoothness value (try using the
-s2 or even -s0 option).</para>