Formerly Skinney/elm-warrior. Search finds this package by either name.
A map is built of several tiles. You can use this module to get a better idea of how the map is made up.
Sometimes a pattern match is a bit much when all you want is the answer to a simple question. So here are simple predicate functions that make it easy to answer the most basic question about a tile.
True if the given Tile is a spawn point
True if a warrior can move to this tile with a move action.
Describes what is on a specific coordinate of a map.