From: Sascha Wildner Date: Mon, 1 Aug 2005 00:35:08 +0000 (+0000) Subject: Convert to mdoc. X-Git-Tag: v2.0.1~6415 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/7c8758569d889885336736e78b4dadcf3b3cab29 Convert to mdoc. --- diff --git a/games/worm/worm.6 b/games/worm/worm.6 index 928ee21238..05af175095 100644 --- a/games/worm/worm.6 +++ b/games/worm/worm.6 @@ -31,37 +31,40 @@ .\" .\" @(#)worm.6 8.1 (Berkeley) 5/31/93 .\" $FreeBSD: src/games/worm/worm.6,v 1.3.2.1 2001/07/22 11:01:24 dd Exp $ -.\" $DragonFly: src/games/worm/worm.6,v 1.2 2003/06/17 04:25:25 dillon Exp $ +.\" $DragonFly: src/games/worm/worm.6,v 1.3 2005/08/01 00:35:08 swildner Exp $ .\" -.TH WORM 6 "May 31, 1993" -.UC 4 -.SH NAME -worm \- play the growing worm game -.SH SYNOPSIS -.B worm -[ -.I size -] -.SH DESCRIPTION +.Dd May 31, 1993 +.Dt WORM 6 +.Os +.Sh NAME +.Nm worm +.Nd play the growing worm game +.Sh SYNOPSIS +.Nm +.Op Ar size +.Sh DESCRIPTION In -.I worm, +.Nm , you are a little worm, your body is the "o"'s on the screen -and your head is the "@". You move with the hjkl keys (as in the game -snake). If you don't press any keys, you continue in the direction you +and your head is the "@". +As in the game +.Xr snake 6 +you move with the hjkl keys. +If you don't press any keys, you continue in the direction you last moved. The upper case HJKL keys move you as if you had pressed several (9 for HL and 5 for JK) of the corresponding lower case key (unless you run into a digit, then it stops). -.PP +.Pp On the screen you will see a digit, if your worm eats the digit is will grow longer, the actual amount longer depends on which digit it was that you ate. The object of the game is to see how long you can make the worm grow. -.PP +.Pp The game ends when the worm runs into either the sides of the screen, or itself. The current score (how much the worm has grown) is kept in the upper left corner of the screen. -.PP +.Pp The optional argument, if present, is the initial length of the worm. -.SH BUGS +.Sh BUGS If the initial length of the worm is set to less than one or more than 75, various strange things happen.