Re: New Python chess module

2005-09-30 Thread Dave Hansen
On Sat, 01 Oct 2005 06:27:01 +1000, Tim Churches <[EMAIL PROTECTED]> wrote: >Will McGugan wrote: >> There is a new version if anyone is interested... >> >> http://www.willmcgugan.com/chess.py >> >> It contains optimizations and bugfixes. >> >> Can anyone suggest a name for this module? pyChess

Re: New Python chess module

2005-09-30 Thread Tim Churches
Will McGugan wrote: > There is a new version if anyone is interested... > > http://www.willmcgugan.com/chess.py > > It contains optimizations and bugfixes. > > Can anyone suggest a name for this module? pyChess is already taken... Pyawn??? Tim C -- http://mail.python.org/mailman/listinfo/pyt

Re: New Python chess module

2005-09-30 Thread Will McGugan
There is a new version if anyone is interested... http://www.willmcgugan.com/chess.py It contains optimizations and bugfixes. Can anyone suggest a name for this module? pyChess is already taken... Will McGugan -- http://www.willmcgugan.com "".join({'*':'@','^':'.'}.get(c,0) or chr(97+(ord(c)-

Re: New Python chess module

2005-09-30 Thread Will McGugan
Pekka Karjalainen wrote: > > I have one minor point. It looks like your test whether the location is on > the board is needlessly complex. Python understands multiple comparisons > like in mathematical notation, and not like in e.g. C language. This > snippet shows what I mean: > > [x for x

Re: New Python chess module

2005-09-30 Thread Pekka Karjalainen
> 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.. Somebody ought to comment this in more detail... I have one minor point. It looks like your test

Re: New Python chess module

2005-09-29 Thread could ildg
Very good~On 9/29/05, Will McGugan <[EMAIL PROTECTED]> wrote: 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 a

New Python chess module

2005-09-29 Thread Will McGugan
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