Search found 71 matches

by thomasahle
Fri Aug 26, 2016 9:24 pm
Forum: Computer Chess Club: General Topics
Topic: Pythonchess 0.7 by Steve Osborne
Replies: 1
Views: 729

Re: Pythonchess 0.7 by Steve Osborne

Norbert Raimund Leisner wrote: But after pressing "start the game" the complete program is closed - nothing happens. Any ideas?
I think you need to run the `PythonChessMain.py` file. It requires that you have the package pygame installed.
by thomasahle
Wed Aug 24, 2016 11:03 am
Forum: Computer Chess Club: General Topics
Topic: New version of Sunfish
Replies: 23
Views: 4166

Re: Side note on Pypy

That's a nice command! :-)
Are you using the pypy3 alpha?
by thomasahle
Mon Aug 22, 2016 11:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Starting with quiescence search
Replies: 63
Views: 9956

Re: Starting with quiescence search

This is the QS from sunfish: def quiescence(self, pos, gamma): if pos.score <= -MATE_LOWER: return -MATE_UPPER score = pos.score for move in sorted(pos.gen_moves(), key=pos.value, reverse=True): if score >= gamma: break if pos.value(move) >= 150: score = max(score, -s...
by thomasahle
Mon Aug 22, 2016 10:28 pm
Forum: Computer Chess Club: General Topics
Topic: New version of Sunfish
Replies: 23
Views: 4166

Re: New version of Sunfish

I have a new version on github now, which fixes this.
by thomasahle
Mon Aug 22, 2016 9:00 pm
Forum: Computer Chess Club: General Topics
Topic: New version of Sunfish
Replies: 23
Views: 4166

Re: Side note on Pypy

After I successfully installed pypy on my machine I thought why not generalize my other python program installed, which is Shatranj in a few versions. Before it was linked to a Python 2.7 installation which worked. With pypy 3.21 I get the error below. Any idea? Or do I need an earleir pypy? 0.000:...
by thomasahle
Mon Aug 22, 2016 8:58 pm
Forum: Computer Chess Club: General Topics
Topic: New version of Sunfish
Replies: 23
Views: 4166

Re: New version of Sunfish

Good idea about using the extra fields for the free text. I'll look into that.
by thomasahle
Sun Aug 21, 2016 7:22 pm
Forum: Computer Chess Club: General Topics
Topic: New version of Sunfish
Replies: 23
Views: 4166

Re: New version of Sunfish

You mean lower/upper bound difference of your given 'dual' score is always inbetween 20cp? I guess an average value should be good enough then for displaying in a GUI. Yes, the two numbers should never be more than 20 apart. I'd still like a format which would allow me to show both. It's quite inte...
by thomasahle
Sun Aug 21, 2016 5:51 pm
Forum: Computer Chess Club: General Topics
Topic: New version of Sunfish
Replies: 23
Views: 4166

Re: New version of Sunfish

Thanks! It would be nice if it would show thinking output under WB. Below is an example of the raw output logged with Inbetween. The first column for the eval clearly is not standard and I suppose WB stops parsing and shows nothing then. That makes sense. Sunfish only calculates the score down to a...
by thomasahle
Sat Aug 20, 2016 11:29 pm
Forum: Computer Chess Club: General Topics
Topic: New version of Sunfish
Replies: 23
Views: 4166

New version of Sunfish

I've put out a new version of my little python chess engine at https://github.com/thomasahle/sunfish . I think I have managed to remove all of the search instabilities of the previous version, while still keeping an efficient null-move and transposition table. This, together with much better testing...
by thomasahle
Sat Aug 13, 2016 11:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: yet another attempt on Perft(14)
Replies: 33
Views: 10979

Re: yet another attempt on Perft(14)

Do you use zobrist transposition tables, or something like a regular chaining hash table with correctness guarantees?