From 9117ffa747e07c4209c5f3f152571da2652489b0 Mon Sep 17 00:00:00 2001 From: garbled Date: Thu, 19 Jan 2006 21:20:35 +0000 Subject: Fix some minor buglets in wump: 1) Don't put two pits in the same room. 2) Don't put bats and pits in the same room. (you will never hit the bat) 3) Don't start the player in a room with a pit or bad, if possible. Some caves are so crowded the loop may go on forever, so we give up after 100 tries to put them in a safe location (as long as it's not with the wumpus). 4) Make the manpage reflect reality WRT the default number of rooms. Bug #3 pointed out by salo. --- wump/wump.6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wump/wump.6') diff --git a/wump/wump.6 b/wump/wump.6 index 67ae2c30..f2e928c3 100644 --- a/wump/wump.6 +++ b/wump/wump.6 @@ -1,4 +1,4 @@ -.\" $NetBSD: wump.6,v 1.6 2003/08/07 09:37:57 agc Exp $ +.\" $NetBSD: wump.6,v 1.7 2006/01/19 21:20:35 garbled Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. @@ -74,7 +74,7 @@ Specifies the number of rooms in the cave which contain bottomless pits. The default is three. .It Fl r Specifies the number of rooms in the cave. -The default cave size is twenty-five rooms. +The default cave size is twenty rooms. .It Fl t Specifies the number of tunnels connecting each room in the cave to another room. -- cgit v1.2.3