Day 20 forced me to abandon nim, because for whatever reason my hash searches started taking seconds.
I probably fucked up somewhere around
type
Room = object
coord: Coord doors: Table[char, Door]
Door = object
name: char frm: Room to: Room
proc hash(room: Room) : Hash =
result = 100000 * room.coord.y + room.coord.x
proc hash(coord: Coord) : Hash =
result = 100000 * coord.y + coord.x
