http://www.angelfire.com/games2/labyrinth/encounter.html