V10/man/mana/snake.6

Compare this file to the similar file:
Show the results in this format:

.TH SNAKE 6
.CT 1 games
.SH NAME
snake, worm \- display chase games
.SH SYNOPSIS
.B /usr/games/snake
.PP
.B /usr/games/worm
.SH DESCRIPTION
.I Snake
must be played on
a HP2621 terminal or equivalent.
The object of the game is to make as much money as possible without
getting eaten by the snake.
.PP
You are represented on the screen by
.BR I .
The snake is 6 squares long, each marked
.BR S .
The money is
.BR $ 
and an exit is
.BR # .
Your score is posted in the upper left hand corner.
.PP
You can move around using keys
.L h j k l
for left, up, down, right.
To earn money, move to the same square the money is on.
A new
.B $
will appear when you earn the current one.
As you get richer, the snake gets hungrier.
To leave the game, move to the exit.
.PP
.I Worm
also requires a 2621-compatible terminal.
Once started, with
.L h j k l
keys as for
.I snake,
the worm moves forward unless directed otherwise.
The object is to collect points displayed on the screen
without running into the wall or any part of the worm itself.
The points are added to the worm's length.