I'm having a go at making a functional board game (the back-end logic
for one, at least) and as with all good projects it raises lots of
questions. But I'll keep it to one this time.
Does anyone know of functional-style implementations of
chess/draughts/go/anything else that might give me ideas?
Ralph Glass has a Xiang Qi board: http://xiangqiboard.blogspot.com/
On Mon, Apr 21, 2008 at 11:22 AM, Dougal Stanton [EMAIL PROTECTED]
wrote:
I'm having a go at making a functional board game (the back-end logic
for one, at least) and as with all good projects it raises lots of
questions.
Hello Dougal,
Monday, April 21, 2008, 7:22:49 PM, you wrote:
Does anyone know of functional-style implementations of
chess/draughts/go/anything else that might give me ideas? I am writing
once we have seen 100-line chess published in this list
--
Best regards,
Bulat
bulat.ziganshin:
Hello Dougal,
Monday, April 21, 2008, 7:22:49 PM, you wrote:
Does anyone know of functional-style implementations of
chess/draughts/go/anything else that might give me ideas? I am writing
once we have seen 100-line chess published in this list
There's more than a
Bertrand Felgenhauer[1] wrote a peg solitaire game[2] using Prompt[3]
to interact with the user.
Here's the core game loop:
-- move a peg into a certain direction
data Move = Move Pos Dir
-- solitaire interface
data Request a where
RMove :: Board - [Move] - Request Move -- select a move
On Mon, Apr 21, 2008 at 5:08 PM, Ryan Ingram [EMAIL PROTECTED] wrote:
Bertrand Felgenhauer[1] wrote a peg solitaire game[2] using Prompt[3]
to interact with the user.
Thanks to everyone for the suggestions, particularly the Games page on
the Haskell wiki which didn't appear in all my googling
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