python-chess
syzygy-tables.info
Our great sponsors
python-chess | syzygy-tables.info | |
---|---|---|
27 | 15 | |
2,290 | 59 | |
- | - | |
8.0 | 7.7 | |
6 days ago | about 1 month ago | |
Python | Python | |
GNU General Public License v3.0 only | GNU Affero General Public License v3.0 |
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.
python-chess
- Permissive chess lib
- he is 2 years into his CS degree
-
Last update on the Chessboard before it's (hopefully) complete
If you do get around to the pi version- I highly recommend this library python-chess. It can handle valid moves in addition to querying an engine like stockfish.
-
Chessboard is coming along nicely
There is a very good Python chess library for computing these sorts of things: https://python-chess.readthedocs.io/en/latest/ If you backed the board with this, you could do it pretty easily.
-
Chess ECO problem part of a chess data mining project in python
I've never done it, but it should be quite easy with python-chess to read in a detailed opening book, go through each game, and then find the last position in each game that occurs in the opening book.
-
[OC] Evaluate Chess Portable Game Notation inside org-babel
pip install chess https://python-chess.readthedocs.io/en/latest/
-
I made a heat map of the most frequent en-passant squares!
database.lichess.org I use the python-chess package.
-
More transparent engine correlation calculation
The tool requires this library to be installed.
-
An Analysis of Unwinnable Chess Positions
python-chess
-
A bash script that reads from a txt file and produces a PNG
Do you need to reinvent the wheel? There's python-chess, for example: https://python-chess.readthedocs.io/en/latest/
syzygy-tables.info
- TIL that chess is completely solved with 7 pieces(any combinations) left on the board. This solution is stored in a database table that's 17 terabytes in size.
-
Is this a draw?
If both sides play correctly, yes this is a draw. Chess is solved with fewer than 7 pieces on the board. At this website, you can check any such position and see what the result will be, assuming perfect play from both sides
-
Chess, unlike war, is a game of perfect information
There is some truth to this.
In theory, chess is a game of perfect information.
But in practice, this is only true for ~6-piece endgames: every outcome has been / can be computed. But for any middle- or early-game position, the amount of finite information greatly exceeds any person's or computer's capacity, practically speaking.
In concrete terms, the tablebase for 6-piece endgames is ~150 GiB. For 7-piece, it's 16 TiB.
[1] https://syzygy-tables.info/
-
Sechs Jahre nach AlphaGo: Mensch besiegt erneut "zuverlässig" stärkste Go-KIs
Syzygy-Tables https://www.chessprogramming.org/Syzygy_Bases
- Syzygy Endgame Tablebases
-
Analysis board, practicing with the computer settings.
Alternatively, if you're playing an endgame with seven or fewer pieces, I suggest you use the Syzygy 7-piece tablebase to get the objectively best response on every move.
- This puzzle a master showed me today. Can you find the mate in 2?
- Syzygy Chess Endgame Tablebases
-
White to move and mate in 584 (longest forced mate ever found)
I suppose you mean the syzgy 7 man tablebases? Yes, they do take 50MR into account because they use DTZ metric (fastest way to checkmate, capture or pawn move).
-
What is the longest possible forced mate sequence with K - K + Q on the board? I managed to find a #10 at most but I suspect that you can get more. Has this been investigated?
I'd assume that Stockfish just hasn't found the M9. Tablebases already know the quickest mates in a given position, you can check the tablebase here
What are some alternatives?
Fairy-Stockfish - chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess, Crazyhouse, Bughouse, and many more
lichess-bot - A bridge between Lichess API and chess engines
pychess - PyChess - a chess client for Linux/Windows
chess-image-generator - Accepts FEN, PGN or array data for chess board and generates PNG or buffer.
ChessPositionRanking - Software suite for ranking chess positions and accurately estimating the number of legal chess positions
pgnToFen - Takes PGN as input and returns FEN
Play-online-chess-with-real-chess-board - Program that enables you to play online chess using real chess boards.
BEGAN-tensorflow - Tensorflow implementation of "BEGAN: Boundary Equilibrium Generative Adversarial Networks"
maia-chess - Maia is a human-like neural network chess engine trained on millions of human games.
python-chess-analysis - Full analysis of a chess game including metrics related to imbalances in the positions using Python-Chess library
command-line-chess - A python program to play chess against an AI in the terminal.