sunfish
stockfish
Our great sponsors
sunfish | stockfish | |
---|---|---|
12 | 3 | |
2,885 | 256 | |
- | - | |
2.5 | 0.0 | |
3 months ago | 2 months ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sunfish
-
funAndEasyToUse
The NNUE version does but the non-NNUE version doesn't use numpy. That numpy import is for a neural network based evaluation functions. The base engine still plays at a strong human level and doesn't use numpy to do any of the heavy lifting. It does rely on itertools and collections though.
-
Python is slow, garbage language!
I'm currently working on a chess bot in C++. The literature and common sense tells you that faster is better, which was my main reason for choosing C++. Then I discovered Sunfish on GitHub that in around 400 lines of Python (without any low level libraries like ctypes) and it still beat me somewhat convincingly. It was definitely fast enough.
-
Easy to read chess engine source code
Just one file: Sunfish.py
-
This Week In Python
sunfish – A Python Chess Engine in 111 lines of code
- Sunfish is a simple, but strong chess engine, written in Python
-
Looking for mod friendly python chess program.
https://github.com/thomasahle/sunfish sunfish is a pretty simple one that uses piece square tables for evaluating positions. Wouldn’t be too difficult to change or even tune
-
sunfish VS Synergy-Chess - a user suggested alternative
2 projects | 17 Jun 2022
-
Look what I found here. I used to play with it a lot because I have no friends. Do you guys have something similar?
It's from 1990. My father passed it down to me. It works... Uhmm.. idk. There's a proprietary chess engine built in. It says it's around 1700 elo points strong. I am a big noob when it comes to chess engines but if you're interested in learning you can check out sunfish , but (Python) programming skills are required.
-
The Kilobyte's Gambit: Can you beat 1024 bytes of JavaScript [at chess]?
Incomprehensible scheiße code. I looked around and I like this one because it has "meta-level" definition of movements and liitle bit of strategy. You could implement context-free chess games with varying rules for us congenitally lazy and dull-witted. https://github.com/thomasahle/sunfish/blob/master/sunfish.py
-
Can you defeat a chess engine written in 1KB of Javascript?
sunfish https://github.com/thomasahle/sunfish (sunfish is the most compact and still understandable code in my opinion)
stockfish
-
Beginner projects in Python based on Lichess API / databse?
2.) Something with this, maybe game review/scoring
-
Chess vision(?) - convert between an image of a chess board & fen/pgn
Stretch goal: Solve chess images for best moves using stockfish (https://github.com/zhelyabuzhsky/stockfish).
-
How can I properly optimize Stockfish? Currently, it is terrible.
According to here the default depth in that package is 2, which is way to low. You should set the depth higher either in the constructor or using set_depth.
What are some alternatives?
Auto-Chess - A chess bot that automatically calculates the best moves and plays them for you
maia-chess - Maia is a human-like neural network chess engine trained on millions of human games.
Synergy-Chess - system that allows you to simultaneously start 8 chess engines and obtain a single move through the majority criteria and of score.
chessboard2fen - Converting real images of a chessboard to FEN codes.
nanochess - Deobfuscation of the Toledo Javascript Chess
ChessVision - Extract chess positions from photos of 2D chessboards (chess books, screenshots, etc.)
Play-online-chess-with-real-chess-board - Program that enables you to play online chess using real chess boards.
pgn-tactics-generator - Generate chess puzzles / tactics from a pgn file
bootOS - bootOS is a monolithic operating system in 512 bytes of x86 machine code.
pdfsyntax - A Python library to inspect and modify the internal structure of a PDF file
irwin - irwin - the protector of lichess from all chess players villainous