"ELO" is a measure of "chess mastery"
On that score, this very compact Python chess program is already better than most of human players.
Porting it to Rust language made it even stronger. And longer, in lines of code :)
thomasahle/sunfish: Sunfish: a Python Chess Engine in 111 lines of code @GitHub
Sunfish is a simple, but strong chess engine, written in Python. With its simple UCI interface, and removing comments and whitespace, it takes up just 131 lines of code! (build/clean.sh sunfish.py | wc -l
). Yet it plays at ratings above 2000 at Lichess.
Finally you can play sunfish now on Lichess or play against Recursing's Rust port, also on Lichess, which is about 100 ELO stronger.
Recursing/sunfish_rs: Rust rewrite of the sunfish simple chess engine @GitHub
No comments:
Post a Comment