Subject: CVS commit: src/games/wump
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 01/19/2006 21:20:35
Module Name:	src
Committed By:	garbled
Date:		Thu Jan 19 21:20:35 UTC 2006

Modified Files:
	src/games/wump: wump.6 wump.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/games/wump/wump.6
cvs rdiff -r1.19 -r1.20 src/games/wump/wump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.