sunfish icon indicating copy to clipboard operation
sunfish copied to clipboard

Sunfish: a Python Chess Engine in 111 lines of code

Results 38 sunfish issues
Sort by recently updated
recently updated
newest added

I tried a couple times by rotating board before it started searching, but still gives weird evals and errors meaning its still playing black

Sunfish claims that Qf2 is the best move in this position, although it is illegal. r3n3/7Q/4pkp1/3p2P1/1p1P4/1P3PK1/r3q3/8 b - - 0 63 I therefore thought about changing the can_kill_king function to...

really like the project . had added some clean code/

A convenient to use docker image for sunfish chess engine

os: ubuntu 18.04 after installing xboard it seems xboard has some internal engines of its own. i tried to run ```pypy3 -u xboard.py``` in one window and ```xboard``` in the...

`sunfish.py` has a shebang line, but `fancy.py` doesn't. To make `fancy.py` run out-of-the-box, add `#!/usr/bin/env pypy3` to top of `fancy.py`.` (`fancy.py doesn't work with Python2 `pypy`, so requires `pypy3`. `sunfish.py`...

Free for open source projects, GitHub can lint and test code with every commit: https://github.com/features/actions

After two years ( #61 ) I'm not sure I buy much into black approach to formatting, and feel free to change this in any way. In case you think...

Hello, I encountered this issue with Sunfish: * Start position r2qkbnr/p1pnP1p1/8/5p1p/3P2b1/2p2N2/PPPB1PPP/R2QKB1R w KQkq - 0 1 with Sunfish set to play Black When White plays e7d8q in cutechess, Sunfish does...

enhancement

Just played a game against it on my local IDE. Towards the end of the game, the king captures my knight which is already defended by the queen, moving into...