3 ms·
There is a nice Haskell package called grid[1] that supports hexagonal grids, among other things. If you want to play around with some of these ideas, you might
by tikhonj 13y ago
There is a nice Haskell package called grid[1] that supports hexagonal grids, among other things. If you want to play around with some of these ideas, you might just have the perfect excuse to learn Haskell now!
More amusingly, the package also supports grids over things that aren't plains, so you can even have octoganal tiles![2] Also, perhaps counter to expectation (:(), it's well-documented, including an illustrated wiki[3].
[1]: http://hackage.haskell.org/package/grid http://hackage.haskell.org/package/grid
[2]: https://groups.google.com/forum/?fromgroups#!topic/haskell-cafe/bGuyCdW5068 https://groups.google.com/forum/?fromgroups#!topic/haskell-c...
[3]: https://github.com/mhwombat/grid/wiki https://github.com/mhwombat/grid/wiki