
21 Apr
2008
21 Apr
'08
2:20 p.m.
Hi Dougal,
Does anyone know of functional-style implementations of chess/draughts/go/anything else that might give me ideas?
there's the Mate-in-N solver in the nofib suite: ftp://www.cs.york.ac.uk/pub/haskell/nofib.tar.gz It takes quite a simple approach, representing the board as two lists (white and black) of piece/square pairs, where a square is just a pair of ints. Matt.