r/ComputerChess • u/candidate_master • Aug 11 '19
r/ComputerChess • u/[deleted] • Feb 05 '19
The History of Computer Chess: An AI Perspective
r/ComputerChess • u/mattuff • Dec 01 '18
I'm interested in writing a chess engine, but I don't know what techniques are out there. Can someone help me find good a starting point?
Hi everyone, I just discovered this sub and figured this would be an appropriate place to ask my question. I'm interested in both chess and coding, so I figured a good way to put these hobbies together would be to try to write a chess engine. But I don't have much experience with AI in particular, so I don't know where to start. Can someone help me figure out how to begin this project?
I am a math major and I have a pretty firm understanding of some of the theoretical underpinnings of ML (linear algebra and measure theory mostly) so something from that perspective would be great.
Thanks in advance!
r/ComputerChess • u/AppropriateNothing • Nov 25 '18
Running millions of Stockfish evaluations
As part of my work on a chess database (chessinsights.org), I want to calculate move evaluations for a large database like Millionbase (2 million games). This would come out to a lot of computational time - maybe 80 ply per game at 0.1 second evaluation time.
Can you think of the cheapest way of running this in a cloud server? Right now, I'm using AWS, so my current thought is to simply create a large number of instances with one processor each to parallelize this task. One big constraint is that I run this task very infrequently, so I want to be able to have this huge compute power available if needed, but only pay for the relatively short period of time required to run this task.
Is there a smarter approach for doing this? Thanks!
r/ComputerChess • u/flok420 • Oct 21 '18
December 1 and 2, there will be a computer-chess tournament in Leiden, the Netherlands. Did you write a chess program yourself? Or do you operate a (maybe even modified) chesscomputer? Then join! Send me an e-mail if you have any questions: [email protected]
r/ComputerChess • u/thntk • Mar 17 '18
What is the Elo rating of Stockfish version that played AlphaZero?
r/ComputerChess • u/not_a_chess_engine • Feb 02 '18
Best Engine tourney has started anew, with Stockfish 9 squaring off against Houdini 6 & Komodo 11
With the introduction of Stockfish 9 today, a new iteration has started to determine the best publicly-available chess engine. The tournament pits the top 3 engines against each other in a series of 252 different openings (playing both sides), resulting in a 1512-game tournament that takes 9 weeks to complete!
No time is wasted on weaker engines so that the sample size between the "Big Three" can be as large as possible. Only publicly available versions are tested on affordable hardware, meaning that the results are meaningful for anyone using a chess engine or wanting to reproduce the results.
The first tournament ended with these results:
Houdini 6 +168 -88 =752
Komodo 11 +150 -144 =714
Stockfish 8 +99 -185 =724As you can see, Stockfish lagged behind his competitors. Can Stockfish 9 turn the tables? We'll see!
The tournament is divided into 9 rounds, with each round lasting about a week. I have a sneaking feeling that it's going to be Komodo's turn finish 3rd. Results from the 1st tournament can be found here: https://www.reddit.com/r/ComputerChess/comments/7teted/2017_best_chess_engine_tournament_results/
The specifics of the tournament has not changed, and it is detailed here: https://www.reddit.com/r/ComputerChess/comments/7e529m/tournament_starting_strongest_engine_of_2017/
Please note that Fritz 16 recently failed to qualify for entry, scoring only 5% (of a needed 25%) in a 100-game rapid tournament against Houdini 6.
r/ComputerChess • u/pawngrabber • Feb 05 '14
TCEC 6: Season 6 of the Thoresen Chess Engines Competition
UPDATE: STAGE 1B HAS BEGUN! Stage 1a of the tournament was completed on Wednesday 2/19, and Stage 1b began shortly thereafter with Tornado 5 vs ExChess 7.18b. See the Live Tournament Page or live coverage at ChessBomb for the latest action!
TCEC 6: The Thoresen Chess Engines Competition (Feb. 7-Jun. ?)
TCEC is a private tournament and rating list organized, directed and hosted by Martin Thoresen. The goal of TCEC is to provide a live broadcast of quality matches played between strong chess engines. Supported by the engine authors who provide their engines, and driven by volunteer support and donations, TCEC does not enforce ICGA rules and sanctions concerning engine originality (translation: Rybka competes in TCEC).
Season 6 began on Friday February 7th at 20:00 CET (2:00pm ET / 11:00am PT) with the first 12 of 36 engines. The competition will continue with two more sections of 12 engines each, then through three more stages followed by a Superfinal match.
Tournament Stages:
Stage 1: Three single round robin tournaments. The top five engines from each, along with the best sixth placed engine, will proceed to Stage 2.
Stage 2: a single round robin of 16 engines. The top eight engines will proceed to Stage 3.
Stage 3: a quadruple (x4) round robin. The top four engines proceed to Stage 4.
Stage 4: a hexadeca (x16) round robin. The top two engines will play the Superfinal.
Superfinal: Both engines will play 32 openings both as white and black (a 64-game match).
Time Controls: Game in 120 minutes plus 30 seconds per move.
Links:
ChessBomb coverage: Stage 1a
Participating engines and the three sections in Stage 1 are:
| # | Stage 1a | Elo | Stage 1b | Elo | Stage 1c | ||
|---|---|---|---|---|---|---|---|
| 1 | Hannibal 1.4b | 2938 | Shredder 12 | 2966 | Alfil | ||
| 2 | Texel 1.03 | 2839 | Tornado 5 | 2809 | The Baron | ||
| 3 | Houdini 4 | 3183 | Spike 1.4 | 2935 | Chiron | ||
| 4 | Redqueen 1.197 | 2036 | Toga II 010214 | 2759 | Crafty | ||
| 5 | Onno 1.27 | 2819 | Stockfish 180214 | 3181 | Jonny | ||
| 6 | Gull 2.8b | 3080 | Nightmare 7.8 | 2880 | Junior | ||
| 7 | Arminius 180114 | 2390 | Arasan 16.3 | 2466 | Komodo | ||
| 8 | Gaviota 0.99b | 2756 | Nebula 2 | 2097 | Octochess | ||
| 9 | Cheng4 0.36c | 2741 | Exchess 7.18b | 2696 | Protector | ||
| 10 | Delphil 3.2 | 2419 | Jazz 799 | 2371 | Rybka | ||
| 11 | Equinox 2.04 | 2962 | Naum 4.6 | 3053 | Scorpio | ||
| 12 | Critter 1.6a | 3077 | Fire 3.1 | 3102 | Spark |
Versions of each engine participating in Stage 1c will be announced closer to the start of that stage.
Here's the final crosstable from Stage 1a, as of Wednesday 2/19:
| # | Engine | Elo | Pts | SB | Ho | Cr | Gu | Te | Eq | Ha | Ch | On | Ga | Ar | Re | De |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Houdini 4 | 3183 | 9.0 | 44.25 | 1 | = | = | = | 1 | 1 | 1 | = | 1 | 1 | 1 | |
| 2 | Critter 1.6a | 3077 | 8.5 | 40.25 | 0 | 1 | = | 1 | 1 | = | 1 | = | 1 | 1 | 1 | |
| 3 | Gull 2.8b | 3080 | 8.0 | 35.00 | = | 0 | = | = | 1 | = | 1 | 1 | 1 | 1 | 1 | |
| 4 | Texel 1.03 | 2839 | 7.0 | 31.00 | = | = | = | 0 | = | = | 1 | = | 1 | 1 | 1 | |
| 5 | Equinox 2.04 | 2962 | 7.0 | 29.00 | = | 0 | = | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | |
| 6 | Hannibal 1.4b | 2938 | 7.0 | 27.75 | 0 | 0 | 0 | = | 1 | 1 | = | 1 | 1 | 1 | 1 | |
| 7 | Cheng4 0.36c | 2741 | 6.0 | 26.75 | 0 | = | = | = | 1 | 0 | 0 | 1 | 1 | = | 1 | |
| 8 | Onno 1.27 | 2819 | 4.5 | 15.75 | 0 | 0 | 0 | 0 | 0 | = | 1 | = | 1 | = | 1 | |
| 9 | Gaviota 0.99b | 2756 | 3.5 | 17.00 | = | = | 0 | = | 0 | 0 | 0 | = | 0 | 1 | = | |
| 10 | Arminius 180114 | 2390 | 2.5 | 6.00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | = | |
| 11 | Redqueen 1.197 | 2036 | 2.0 | 6.25 | 0 | 0 | 0 | 0 | 0 | 0 | = | = | 0 | 0 | 1 | |
| 12 | Delphil 3.2 | 2419 | 1.0 | 3.00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | = | = | 0 |
Lastly, here's the game schedule for Stage 1b:
| Game | White Engine | Black Engine | Game | White Engine | Black Engine | |
|---|---|---|---|---|---|---|
| 1 | Tornado 5 | Exchess 7.18b | 34 | Tornado 5 | Nebula 2 | |
| 2 | Toga II 010214 | Jazz 799 | 35 | Toga II 010214 | Nightmare 7.8 | |
| 3 | Spike 1.4 | Stockfish 180214 | 36 | Spike 1.4 | Naum 4.6 | |
| 4 | Naum 4.6 | Shredder 12 | 37 | Naum 4.6 | Exchess 7.18b | |
| 5 | Nightmare 7.8 | Fire 3.1 | 38 | Nightmare 7.8 | Spike 1.4 | |
| 6 | Nebula 2 | Arasan 16.3 | 39 | Nebula 2 | Toga II 010214 | |
| 7 | Exchess 7.18b | Arasan 16.3 | 40 | Arasan 16.3 | Tornado 5 | |
| 8 | Fire 3.1 | Nebula 2 | 41 | Fire 3.1 | Jazz 799 | |
| 9 | Shredder 12 | Nightmare 7.8 | 42 | Shredder 12 | Stockfish 180214 | |
| 10 | Stockfish 180214 | Naum 4.6 | 43 | Exchess 7.18b | Stockfish 180214 | |
| 11 | Jazz 799 | Spike 1.4 | 44 | Jazz 799 | Shredder 12 | |
| 12 | Tornado 5 | Toga II 010214 | 45 | Tornado 5 | Fire 3.1 | |
| 13 | Toga II 010214 | Exchess 7.18b | 46 | Toga II 010214 | Arasan 16.3 | |
| 14 | Spike 1.4 | Tornado 5 | 47 | Spike 1.4 | Nebula 2 | |
| 15 | Naum 4.6 | Jazz 799 | 48 | Naum 4.6 | Nightmare 7.8 | |
| 16 | Nightmare 7.8 | Stockfish 180214 | 49 | Nightmare 7.8 | Exchess 7.18b | |
| 17 | Nebula 2 | Shredder 12 | 50 | Nebula 2 | Naum 4.6 | |
| 18 | Arasan 16.3 | Fire 3.1 | 51 | Arasan 16.3 | Spike 1.4 | |
| 19 | Exchess 7.18b | Fire 3.1 | 52 | Fire 3.1 | Toga II 010214 | |
| 20 | Shredder 12 | Arasan 16.3 | 53 | Shredder 12 | Tornado 5 | |
| 21 | Stockfish 180214 | Nebula 2 | 54 | Stockfish 180214 | Jazz 799 | |
| 22 | Jazz 799 | Nightmare 7.8 | 55 | Exchess 7.18b | Jazz 799 | |
| 23 | Tornado 5 | Naum 4.6 | 56 | Tornado 5 | Stockfish 180214 | |
| 24 | Toga II 010214 | Spike 1.4 | 57 | Toga II 010214 | Shredder 12 | |
| 25 | Spike 1.4 | Exchess 7.18b | 58 | Spike 1.4 | Fire 3.1 | |
| 26 | Naum 4.6 | Toga II 010214 | 59 | Naum 4.6 | Arasan 16.3 | |
| 27 | Nightmare 7.8 | Tornado 5 | 60 | Nightmare 7.8 | Nebula 2 | |
| 28 | Nebula 2 | Jazz 799 | 61 | Nebula 2 | Exchess 7.18b | |
| 29 | Arasan 16.3 | Stockfish 180214 | 62 | Arasan 16.3 | Nightmare 7.8 | |
| 30 | Fire 3.1 | Shredder 12 | 63 | Fire 3.1 | Naum 4.6 | |
| 31 | Exchess 7.18b | Shredder 12 | 64 | Shredder 12 | Spike 1.4 | |
| 32 | Stockfish 180214 | Fire 3.1 | 65 | Stockfish 180214 | Toga II 010214 | |
| 33 | Jazz 799 | Arasan 16.3 | 66 | Jazz 799 | Tornado 5 |
Big chess events happen all the time, and we try to highlight the major ones in /r/chess. Check the /r/chess Events page as well as the event calendars linked there for even more. Also, please share links to events you'd like to see there, or to valuable resources for this event that I haven't listed above. Enjoy!
Recent Current Event posts in /r/chess:
r/ComputerChess • u/chessguy112 • 23d ago
Best chess app like PowerChess?
In the 90s there was an old chess program called Powerchess (Windows 95). It used adaptive opponents who would play a little bit better than you but still make mistakes and then another chess engine would watch the game and offer helpful advice on improvements after the game was played in natural language. I would like to find something like this for modern computers.
I have Chessmaster 10th edition and Fritz 13. Fritz 13 friend mode is "close" to this ability but it lacks natural language breakdown of each move. Chessmaster 10th edition has natural language analysis but lacks the adaptive opponent. Is there a better alternative? Thanks in advance!
r/ComputerChess • u/AdrianSomething_ • Oct 21 '26
I hate learning chess openings, so I created my own open-source app (and added to many features)!
After playing chess for quite some time now, I wanted to get started learning openings. However, I couldn't find a tool that worked how I wanted.
I wanted to visualize them as a branch tree, and learn them through flashcard-style training.
That is why I used codex and after I don't know how many iterations I created an app for that!
Furthermore, I wanted to get started mantaining my first github repo, to see how it is.
And it grew into a much bigger project with generating openings from scratch using Stockfish, analysis of your own games (as chesscom only lets you analyse one game each day), automated puzzle generation and several custom chess game modes.
A few days ago, I made it open-source and free for anybody to use (on Windows) and contribute.
The video shows some of the features I have implemented so far.
I would love to hear any feedback, as I am planning to add new features (like queing opening generation jobs so you can run them overnight). :)
r/ComputerChess • u/quantum_naut • Aug 15 '26
[Research] Otter: A Time-Aware, History-Conditioned Human Chess AI
I recently trained Otter, a 15.3M-parameter chess model focused on predicting human-like moves rather than simply playing the strongest move.
It conditions on game history and time information and was trained on a large dataset of human games.
You can play against it directly in your browser, and the paper, model, and Python package are available here:
https://peargentlabs.github.io/otter-chess/
Would love to hear feedback from others working on computer chess.
r/ComputerChess • u/Odd-Independence-116 • Jul 26 '26
I made a plugin that floats a Lichess puzzle over your terminal while Claude is thinking
r/ComputerChess • u/Timely_Huckleberry88 • May 30 '26
Chess AI - 2700 ELO.
Introduction
I just want to share with folks a Chess-App I've built over the past 4+ months. It's a hybrid desktop application using Python / PySide6 for User Interface and Board Generation and multithreaded Rust Engine for evaluating millions of positions a second.
https://github.com/alanyuan08/Chess-App
My eventual code is to have the engine to be entirely self built (no timecat NNUE) and ratified as 3000 ELO by the Computer Chess Rating Lists (CCRL).
Highlights
- Benchmarked (unofficially) to play at roughly 2700 ELO. This is using an Apple M4 Pro Chip and it evaluates roughly 7.2 Million Nodes per Second.
- It uses the standard StockFish stack of Bitboards for Move Generation, Alpha-Beta Pruning with Quiescence Search and Iterative Deepening to achieve depth of 10+ piles.
- Transposition Tables and Lazy SMP for multithreaded coordination
- Utilizes Timecat NNUE for board evaluation - The third-party library cannot process pseudo-positions (invalid board states and thus Null-Move-Pruning is disabled).
Thoughts on AI / AI-Code Generation
- Gemini has been a tremendous source when it came to explaining complex topics associated with Alpha-Beta Pruning / CPU Cycle etc. I've found if I didn't have such a strong reference, this project would have easily taken 2-3x longer.
- Positive - AI Code Generation has been very strong with generating boilerplate level code; It is exceptionally helpful when I struggled to write a lockless Transposition Table.
https://github.com/alanyuan08/Chess-App/blob/main/rust_compute/src/transposition_table.rs
This single step likely saved me several days of debugging when I was trying to run multi threads of Lazy SMP.
Furthermore, Gemini also could help identify potential problems with the code (which is correct 50%+ of the time) and help provide strong suggestions when debugging complex processes.
- Negative - AI Code Generation has been very problematic when trying to combine multiple concepts together as there are multiple ways to achieve the same result.
https://github.com/alanyuan08/Chess-App/blob/main/rust_compute/src/search_worker.rs
I have a strong understanding of Quiescence Search, Alpha Beta Pruning etc. I've found that if you used pure AI Code Generation, you'll likely be mixing Hard-Cut off / Soft-Cut off and run into several days of debugging.
I've ran into similar issues with Bitboard Generation / Principal Variation / Zobrist Hash etc.
Contact / Future Communications
If you have any questions please let me know and I will try to assist you with the best of my abilities.
Furthermore, I highly recommend everyone to work on a project like this. It has been a tremendous learning experience where I was able to brush up on Multi-Threading, Caching, Rust etc.
The project is also a lot more accessible that you think:
- I started this project 5 months ago as a pure Python Application and I was able to have a single threaded Python Engine with a PySide interface in 1.5 Months. However, I ran into my first bottleneck with Python GIL and slower processing times and could only achieve depth of 4, which severely hindered the score
- I had to learn Rust / Bitboard / Multi-Threading over the past few months while building this engine and day by day, I was able to finally achieve my target.
r/ComputerChess • u/samewakefulinsomnia • Apr 18 '26
Ultrachess: a chess.js-compatible rules library in Rust/WASM
Built a chess rules core in Rust, compiled to a 45 KB brotli WASM, wrapped in a typed TS API
r/ComputerChess • u/Psychological-Taste3 • Apr 03 '26
Made an standalone Apple Watch app to play blindfold chess with
Currently running the chal engine posted by @whyeventobe a few days ago.
r/ComputerChess • u/FbF_ • Mar 06 '26
SCID v5.2 Is Out — free, open-source chess database with a new eval chart and faster tree stats
r/ComputerChess • u/JamesLebron372 • Feb 20 '26
I held a 100 game match between Stockfish 18 and Stockfish 15 from the start position. Here are the results.
r/ComputerChess • u/Ellious69 • Aug 18 '25
I made a chess puzzle CLI so I can study chess while waiting for my code to compile!
r/ComputerChess • u/Moist_Ad_9960 • Apr 06 '25
New record: Stockfish crosses the 3700 elo mark
r/ComputerChess • u/ChrisMuc74 • Jan 26 '25
any idea how to fix a broken display at a mephisto mini? i dont find anything useful on yt or ebay.
r/ComputerChess • u/doorfviwor • Jan 08 '25
A New Dotnet Chess Engine - Open Source and Ready to Play
A few months ago, I embarked on creating a chess engine as a personal project, despite having no prior experience in chess programming. What started as a casual experiment quickly became one of the most rewarding endeavors I've ever pursued.
The engine is written entirely in Dotnet, and I've been pleasantly surprised by the performance it's capable of achieving. It's been a joy optimizing and learning along the way.
For anyone curious to explore or contribute, the codebase is open-source and available here:
GitHub Repository
You can also test the bot's skills on Lichess, where it currently holds a 2700 Elo rating:
Lichess Profile
Or play it directly in your browser, no account required:
Play Online
If you're considering building your own chess engine, I wholeheartedly recommend diving in. It's a project that's both approachable for beginners and endlessly deep for those seeking a challenge. To help anyone get started, I’ve included a few helpful resources in the repository's README. Feedback and contributions are always welcome