New Python chess module
Will McGugan
news at NOwillmcguganSPAM.com
Thu Sep 29 11:21:16 EDT 2005
Hi folks,
I've written a Python chess module that does the following.
* Reads / Writes PGN files
* Write FEN files
* Validates moves
* Lists legal moves
* Detects check / mate / stalemate / 50 move rule / threefold repetition
Its still rough around the edges and not fully tested. I'll eventualy
release a more polished version and possibly put it on Sourceforge. In
the meantime I would be grateful for any feedback..
http://www.willmcgugan.com/chess.zip
I am aware of the chess module by Erik Max Francis. It may have been
more sensible to work on his version, but I did this mainly for the fun
of it. I wrote a chess game in C++ a while back
(http://www.chesscommander.com) and I thought it would be interesting to
re-implement the chess library part in Python.
Regards,
Will McGugan
--
http://www.willmcgugan.com
More information about the Python-list
mailing list