lichess-bot
syzygy-tables.info
lichess-bot | syzygy-tables.info | |
---|---|---|
8 | 15 | |
778 | 64 | |
2.1% | - | |
9.4 | 7.3 | |
3 days ago | 6 months ago | |
Python | Python | |
GNU Affero General Public License v3.0 | 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
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?
irwin - irwin - the protector of lichess from all chess players villainous
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
pychess - PyChess - a chess client for Linux/Windows
pgn-tactics-generator - Generate chess puzzles / tactics from a pgn file
ChessPositionRanking - Software suite for ranking chess positions and accurately estimating the number of legal chess positions
chessli - A free and open source chess improvement app that combines the power of Lichess and Anki.
Play-online-chess-with-real-chess-board - Program that enables you to play online chess using real chess boards.
lichess-tournament-creator - A script to automatically create chess tournaments using Lichess API
command-line-chess - A python program to play chess against an AI in the terminal.
play-chess-with-a-webcam - Play Chess With a Webcam
maia-chess - Maia is a human-like neural network chess engine trained on millions of human games.