Commit | Line | Data |
---|---|---|
6983d479 C |
1 | |
2 | ||
3 | ||
4 | WORM(6) BSD Reference Manual WORM(6) | |
5 | ||
6 | ||
7 | N\bNA\bAM\bME\bE | |
8 | worm - play the growing worm game | |
9 | ||
10 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
11 | w\bwo\bor\brm\bm [ _\bs_\bi_\bz_\be ] | |
12 | ||
13 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
14 | In _\bw_\bo_\br_\bm_\b, you are a little worm, your body is the "o"'s on | |
15 | the screen and your head is the "@". You move with the | |
16 | hjkl keys (as in the game snake). If you don't press any | |
17 | keys, you continue in the direction you last moved. The | |
18 | upper case HJKL keys move you as if you had pressed sev- | |
19 | eral (9 for HL and 5 for JK) of the corresponding lower | |
20 | case key (unless you run into a digit, then it stops). | |
21 | ||
22 | On the screen you will see a digit, if your worm eats the | |
23 | digit is will grow longer, the actual amount longer | |
24 | depends on which digit it was that you ate. The object of | |
25 | the game is to see how long you can make the worm grow. | |
26 | ||
27 | The game ends when the worm runs into either the sides of | |
28 | the screen, or itself. The current score (how much the | |
29 | worm has grown) is kept in the upper left corner of the | |
30 | screen. | |
31 | ||
32 | The optional argument, if present, is the initial length | |
33 | of the worm. | |
34 | ||
35 | B\bBU\bUG\bGS\bS | |
36 | If the initial length of the worm is set to less than one | |
37 | or more than 75, various strange things happen. | |
38 | ||
39 | ||
40 | ||
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | ||
47 | ||
48 | ||
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 | ||
59 | ||
60 | ||
61 | 4th Berkeley Distribution May 31, 1993 1 | |
62 | ||
63 | ||
64 | ||
65 | ||
66 |