grid
grid copied to clipboard
Tools for working with regular grids/graphs/lattices.
Would it make sense to derive `Ord`, `Enum`, and `Bounded` instances for `Direction g`? I am working on a game that should work in any grid and it seems to...
For example, consider a game in which a player controls a set of indices, and one category of legal moves is to expand to a index adjacent to the controlled...
This is because `indices` is undefined for unbounded grids. That makes sense, but then maybe the constructor should be constrained by `FiniteGrid` so this can't happen?