Commit | Line | Data |
---|---|---|
ca6946d0 KB |
1 | .\" Copyright (c) 1989 The Regents of the University of California. |
2 | .\" All rights reserved. | |
660aaee1 | 3 | .\" |
73e0d260 | 4 | .\" %sccs.include.redist.man% |
ca6946d0 | 5 | .\" |
73e0d260 | 6 | .\" @(#)worm.6 6.3 (Berkeley) %G% |
660aaee1 | 7 | .\" |
e97ad92b | 8 | .TH WORM 6 "" |
660aaee1 KM |
9 | .UC 4 |
10 | .SH NAME | |
11 | worm \- play the growing worm game | |
12 | .SH SYNOPSIS | |
ca6946d0 | 13 | .B worm |
660aaee1 KM |
14 | [ |
15 | .I size | |
16 | ] | |
17 | .SH DESCRIPTION | |
18 | .PP | |
19 | In | |
20 | .I worm, | |
21 | you are a little worm, your body is the "o"'s on the screen | |
22 | and your head is the "@". You move with the hjkl keys (as in the game | |
23 | snake). If you don't press any keys, you continue in the direction you | |
24 | last moved. The upper case HJKL keys move you as if you had pressed | |
832f78c7 | 25 | several (9 for HL and 5 for JK) of the corresponding lower case key |
660aaee1 KM |
26 | (unless you run into a digit, then it stops). |
27 | .PP | |
28 | On the screen you will see a digit, if your worm eats the digit is will | |
29 | grow longer, the actual amount longer depends on which digit it was | |
30 | that you ate. The object of the game is to see how long you can make | |
31 | the worm grow. | |
32 | .PP | |
33 | The game ends when the worm runs into either the sides of the screen, | |
34 | or itself. The current score (how much the worm has grown) is kept in | |
35 | the upper left corner of the screen. | |
36 | .PP | |
37 | The optional argument, if present, is the initial length of the worm. | |
38 | .SH BUGS | |
39 | If the initial length of the worm is set to less than one or more | |
40 | than 75, various strange things happen. |