On Thu, Jan 23, 2014 at 01:39:33PM +0100, Jan Stary wrote:
> Time for today's silly diff yet?
> The following augments the worm(6) manpage to
> answer the burning question "what happens if
> I make the worm too long initially"?
> 
>       Jan
> 

i've just committed a fix from paul janzen that answers your burning
question: on -current (i.e. as of 10 minutes ago), worm bails out with
an error message if you make your initial worm too long.

paul also contributed a second fix to have the cursor start on the
worm's head.

happy worming!
jmc

> 
> Index: games/worm/worm.6
> ===================================================================
> RCS file: /cvs/src/games/worm/worm.6,v
> retrieving revision 1.12
> diff -u -p -u -p -r1.12 worm.6
> --- games/worm/worm.6 22 Oct 2009 18:07:31 -0000      1.12
> +++ games/worm/worm.6 23 Jan 2014 11:14:45 -0000
> @@ -62,3 +62,6 @@ The current score
>  is kept in the upper right corner of the screen.
>  .Pp
>  The optional argument, if present, is the initial length of the worm.
> +If the specified initial length would cause the worm to cover
> +more then roughly one third of the screen, the default length
> +will be used instead.

  • worm diff Jan Stary
    • Re: worm diff Jason McIntyre

Reply via email to