lichess-bot
neural_network_chess
lichess-bot | neural_network_chess | |
---|---|---|
8 | 14 | |
691 | 266 | |
1.6% | - | |
9.4 | 2.4 | |
5 days ago | 12 months ago | |
Python | Python | |
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.
lichess-bot
-
How to make a Lichess bot in Python
Clone https://github.com/lichess-bot-devs/lichess-bot.git into your new project! Make sure you have github installed!
-
Interested in creating, playing and testing your own chess engine?
https://github.com/ShailChoksi/lichess-bot is a straight forward way to use any UCI engine with lichess. There are also a few libraries for move generation mine: https://github.com/Disservin/chess-library , libchess: https://github.com/kz04px/libchess , surge: https://github.com/nkarve/surge . These are C++ ones, for rust theres https://github.com/analog-hors/cozy-chess . In python you could use python-chess but its incredibly slow for engine stuff writing your own will probably be faster if you know what you are doing.
-
I have created a chess engine in python. How do I modify it for UCI protocol?
I would recommend downloading this bot, written in Python: https://github.com/ShailChoksi/lichess-bot
Once you have these basic UCI commands implemented, you can use this application to run your engine as BOT on lichess.
- Making A Geocache
-
I made a 1660 lichess bot
The bot uses the Shail Choksi's lichess-bot package (link) and stockfish. It's currently running on pythoneverywhere.com. I am very much a hobbyist and this is the first time I've done anything "useful" with coding. If you encounter any bugs, DM me and I'll do my best to fix them.
-
Is there a chess platform that explicitly allows computer play?
You can make a lichess bot with your engine (https://github.com/ShailChoksi/lichess-bot or similar API). The instructions are all fairly straightforward, but if you need any help feel free to reach out!
-
How do people go about testing chess engines against each other?
If you just want to make your engine play some games, with a uci interface you can quickly setup a bot account on lichess and challenge any available bot. https://github.com/ShailChoksi/lichess-bot
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?
irwin - irwin - the protector of lichess from all chess players villainous
alpha-zero-boosted - A "build to learn" Alpha Zero implementation using Gradient Boosted Decision Trees (LightGBM)
pychess - PyChess - a chess client for Linux/Windows
python-chess - A chess library for Python, with move generation and validation, PGN parsing and writing, Polyglot opening book reading, Gaviota tablebase probing, Syzygy tablebase probing, and UCI/XBoard engine communication
pgn-tactics-generator - Generate chess puzzles / tactics from a pgn file
maia-chess - Maia is a human-like neural network chess engine trained on millions of human games.
chessli - A free and open source chess improvement app that combines the power of Lichess and Anki.
nnue-pytorch - Stockfish NNUE (Chess evaluation) trainer in Pytorch
lichess-tournament-creator - A script to automatically create chess tournaments using Lichess API
boardlaw - Scaling scaling laws with board games.
syzygy-tables.info - User interface and public API for probing Syzygy endgame tablebases
chess - Program for playing chess in the console against AI or human opponents