cf http://will.thimbleby.net/roguelike/StealthyRogueApplet.java