File: greed.xml

package info (click to toggle)
greed 3.4-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 76 kB
  • ctags: 53
  • sloc: ansic: 581; makefile: 86; xml: 82
file content (100 lines) | stat: -rw-r--r-- 3,275 bytes parent folder | download
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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE refentry PUBLIC 
   "-//OASIS//DTD DocBook XML V4.1.2//EN"
   "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd"
   >
<refentry id='greed.6'>
<refmeta>
<refentrytitle>greed</refentrytitle>
<manvolnum>6</manvolnum>
<refmiscinfo class='date'>Jul 27 2000</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>greed</refname>
<refpurpose>eat a game field until you run out of moves</refpurpose>
</refnamediv>
<refsynopsisdiv id='synopsis'>

<cmdsynopsis>
  <command>greed</command>  <arg choice='opt'>-s </arg>
</cmdsynopsis>

</refsynopsisdiv>

<refsect1 id='description'><title>DESCRIPTION</title>
<para>The object of Greed is to erase as much of the screen as possible by
moving around in a grid of numbers.  To move your cursor, simply use 
your arrow keys or the the 'hjklyubn' keys or your numberic 
Your location is signified by the @ symbol.</para>

<para>When you move in a direction, you erase N number of grid squares in
that direction, N being the first number in that direction.  Your
score reflects the total number of squares eaten.</para>

<para>Greed will not let you make a move that would have placed you off the
grid or over a previously eaten square. If no valid moves exist, your
game ends.</para>

<para>Other Greed commands are 'Ctrl-L' to redraw the screen, 'p' to toggle
the highlighting of the possible moves, and 'q' to quit.  </para>

<para>The only ommand line option to Greed is '-s' to output the high
score file.</para>
</refsect1>

<refsect1 id='environment'><title>ENVIRONMENT</title>
<para>Greed will detect color curses(3) support at compilation time.  If
you have it, Greed will generate the board in color, one color to each
of the digit values. This will also enable checking of an environment
variable GREEDOPTS to override the default color set, which will be
parsed as a string of the form:</para>

<literallayout remap='.nf'>
	&lt;c1&gt;&lt;c2&gt;&lt;c3&gt;&lt;c4&gt;&lt;c5&gt;&lt;c6&gt;&lt;c7&gt;&lt;c8&gt;&lt;c9&gt;[:[p]]
</literallayout> <!-- .fi -->

<para>where &lt;cn&gt; is a character decribing the color for digit n.
The color letters are read as follows:</para>

<literallayout remap='.nf'>
	b = blue,
	g = green,
	c = cyan,
	r = red,
	m = magenta,
	y = yellow,
	w = white.
</literallayout> <!-- .fi -->

<para>In addition, capitalizing a letter turns on the A_BOLD attribute for that
letter.</para>

<para>If the string ends with a trailing :, letters following are taken as game
options. At present, only 'p' (equivalent to an initial 'p' command) is
defined.</para>
</refsect1>

<refsect1 id='files'><title>FILES</title>
<variablelist remap='TP'>
<varlistentry>
<term>/var/games/greed/greed.hs</term>
<listitem>
<para>Default location of Greed high scores.</para>
</listitem>
</varlistentry>
</variablelist>

</refsect1>

<refsect1 id='authors'><title>AUTHORS</title>
<para>Originally written by Matt Day.  Maintained by
&lt;esr@snark.thyrsus.com&gt;. See ESR's home page at
<ulink url='http://www.tuxedo.org/~esr/'>http://www.tuxedo.org/~esr/</ulink> for updates and other resources.</para>
</refsect1>

<refsect1 id='bugs'><title>BUGS</title>
<para>This really ought to be an X game, but that would have been too much
like work.</para>
</refsect1>
</refentry>