python-chess
neural_network_chess
Our great sponsors
python-chess | neural_network_chess | |
---|---|---|
27 | 14 | |
2,290 | 265 | |
- | - | |
8.0 | 2.4 | |
7 days ago | 12 months ago | |
Python | Python | |
GNU General Public License v3.0 only | - |
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/
neural_network_chess
-
A question about training chess engines
Basically, MCTS is used in combination with reinforcement learning. This ensures that we get better evaluations for non terminal positions in training games. You might want to have a look at my free book @ https://github.com/asdfjkl/neural_network_chess
-
Why does the compiler *partially* vectorize my code?
So consider instead keeping a running score of the position, rather than recalculating it in full every time. One of the main tricks behind Stockfish NNUE, the current top chess engine, is a clever way of not needing to fully recalculate the full neural net every time, but to do a delta update for each move for a substantial part of the network. I forget the main paper about that, but you can read about it in https://github.com/asdfjkl/neural_network_chess.
-
Resources for learning and implementing a NNUE for a chess engine?
My book https://github.com/asdfjkl/neural_network_chess covers some of these topics...
-
[D] Machine Learning - WAYR (What Are You Reading) - Week 122
Neural Networks For Chess
- [R] Neural Networks For Chess
- Neural Networks For Chess
-
Book about AlphaZero, Stockfish NNUE and neural networks in chess
Shameless self-plug: I wrote a book about neural networks in chess and you can get a free PDF here https://github.com/asdfjkl/neural_network_chess (no ads, no fremium)
- Neural Networks for Chess
What are some alternatives?
Fairy-Stockfish - chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess, Crazyhouse, Bughouse, and many more
alpha-zero-boosted - A "build to learn" Alpha Zero implementation using Gradient Boosted Decision Trees (LightGBM)
pychess - PyChess - a chess client for Linux/Windows
maia-chess - Maia is a human-like neural network chess engine trained on millions of human games.
chess-image-generator - Accepts FEN, PGN or array data for chess board and generates PNG or buffer.
lichess-bot - A bridge between Lichess API and chess engines
syzygy-tables.info - User interface and public API for probing Syzygy endgame tablebases
nnue-pytorch - Stockfish NNUE (Chess evaluation) trainer in Pytorch
pgnToFen - Takes PGN as input and returns FEN
boardlaw - Scaling scaling laws with board games.
BEGAN-tensorflow - Tensorflow implementation of "BEGAN: Boundary Equilibrium Generative Adversarial Networks"
chess - Program for playing chess in the console against AI or human opponents