From: Chris Shea Date: 2008-08-16T01:12:05+09:00 Subject: Re: Wig-Wug Simulator On Aug 14, 9:19 pm, James Gray wrote: > I have started a Wig-Wug (http://therubyist.com/homework/wig-wug/)   > simulator and thrown it on github (http://github.com/JEG2/wig-wug/tree/master > ).  It probably still has issues, but it may be of interest to others   > playing with the problem.  It includes a map and a digger class I   > wrote that does badly on that map.  Enjoy. > > James Edward Gray II Sorry for the empty message. Hit send WAY too early. I mean to send this patch, which lets your game server not crash if a player ends up on the edge of the map: 91a92 > return 'E' if x == -1 || y == -1 || x == @width || y == @height Chris