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