Re: python chess engines

2016-05-07 Thread Christopher Reimer
On 5/3/2016 10:13 PM, DFS wrote: Wanted to start a new thread, rather than use the 'motivated' thread. Can you play your game at the console? Nope. Only displays the board on the console. An early version had the forward movement for pawns implemented. The way I think about a chess engine i

python chess engines

2016-05-03 Thread DFS
On 5/3/2016 8:00 PM, DFS wrote: How far along are you in your engine development? I can display a text-based chess board on the console (looks better with a mono font). 8 BR BN BB BQ BK BB BN BR 7 BP BP BP BP BP BP BP BP 6 __ __ __ __ __ __ __ __ 5 __ __ __ __ __ __ __ __ 4 __ _

Re: Python & chess

2006-08-24 Thread Paul Boddie
Will McGugan wrote: > > I have written a chess module that may be of use to you. > > http://www.willmcgugan.com/2006/06/18/chesspy/ See also ChessBoard - a nice implementation of chess using pygame: http://www.pygame.org/projects/9/282/ Paul -- http://mail.python.org/mailman/listinfo/python-li

Re: Python & chess

2006-08-24 Thread tobiah
> Hmmm. I think that if you need to write a very clever chess game, then > you need to use very fast routines, written in C or even assembly. Oh, right. Speed. I thought that you were talking about some mismatch of capabilities. Toby -- Posted via a free Usenet account from http://www.teran

Re: Python & chess

2006-08-24 Thread Laszlo Nagy
tobiah írta: > Paolo Pantaleo wrote: > >> Well Python is not a good language for writing a chess engine >> > > I'm curious; how does python fall short here, and what are the > features that make some other language more suitable for the > task? > Hmmm. I think that if you need to write

Re: Python & chess

2006-08-24 Thread Will McGugan
Paolo Pantaleo wrote: > Well Python is not a good language for writing a chess engine (even if > a chess engine exists: > http://www.kolumbus.fi/jyrki.alakuijala/pychess.html), but it could be > grat for chess interfaces, for drawing boards, and similar things. I > foudn out a library for these thi

Re: Python & chess

2006-08-24 Thread tobiah
Paolo Pantaleo wrote: > Well Python is not a good language for writing a chess engine I'm curious; how does python fall short here, and what are the features that make some other language more suitable for the task? Toby -- Posted via a free Usenet account from http://www.teranews.com -- htt

Python & chess

2006-08-24 Thread Paolo Pantaleo
Well Python is not a good language for writing a chess engine (even if a chess engine exists: http://www.kolumbus.fi/jyrki.alakuijala/pychess.html), but it could be grat for chess interfaces, for drawing boards, and similar things. I foudn out a library for these things (http://www.alcyone.com/soft

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

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