[Haskell-cafe] How to represent a board?

Chris Warburton chriswarbo at googlemail.com
Fri Jun 20 15:57:50 UTC 2014


Corentin Dupont <corentin.dupont at gmail.com> writes:

> Instead of encoding the board, I would encode the position of the pieces:
> there is usually much less pieces than squares.

Possibly useful: http://en.wikipedia.org/wiki/Sparse_matrix

Cheers,
Chris


More information about the Haskell-Cafe mailing list