Unless you're dealing with a board with millions of positions or more, sparse matrices don't matter.
Corentin Dupont <corentin.dupont@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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe