r/ComputerChess • • Aug 11 '19

How to Make a Chess Clock With Arduino

Thumbnail
instructables.com
9 Upvotes

r/ComputerChess • • Feb 05 '19

The History of Computer Chess: An AI Perspective

Thumbnail
youtube.com
9 Upvotes

r/ComputerChess • • 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?

9 Upvotes

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 • • Nov 25 '18

Running millions of Stockfish evaluations

9 Upvotes

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 • • 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]

Thumbnail
csvn.nl
9 Upvotes

r/ComputerChess • • May 08 '18

Welcome Lichess Bots

Thumbnail
lichess.org
9 Upvotes

r/ComputerChess • • Mar 17 '18

What is the Elo rating of Stockfish version that played AlphaZero?

Thumbnail
self.chess
9 Upvotes

r/ComputerChess • • Feb 02 '18

Best Engine tourney has started anew, with Stockfish 9 squaring off against Houdini 6 & Komodo 11

9 Upvotes

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 =724

As 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 • • Feb 05 '14

TCEC 6: Season 6 of the Thoresen Chess Engines Competition

9 Upvotes


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:


Participating engines and the three sections in Stage 1 are:

#Stage 1aElo           Stage 1bElo   Stage 1c
1Hannibal 1.4b 2938Shredder 12 2966Alfil
2Texel 1.03 2839Tornado 5 2809The Baron
3Houdini 4 3183Spike 1.4 2935Chiron
4Redqueen 1.197 2036Toga II 010214 2759Crafty
5Onno 1.27 2819Stockfish 1802143181Jonny
6Gull 2.8b 3080Nightmare 7.8 2880Junior
7Arminius 1801142390Arasan 16.3 2466Komodo
8Gaviota 0.99b 2756Nebula 2 2097Octochess
9Cheng4 0.36c 2741Exchess 7.18b 2696Protector
10Delphil 3.2 2419Jazz 799 2371Rybka
11Equinox 2.04 2962Naum 4.6 3053Scorpio
12Critter 1.6a 3077Fire 3.1 3102Spark

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:

#EngineEloPtsSBHoCrGuTeEqHaChOnGaArReDe
1Houdini 431839.044.251===111=111
2Critter 1.6a30778.540.2501=11=1=111
3Gull 2.8b30808.035.00=0==1=11111
4Texel 1.0328397.031.00===0==1=111
5Equinox 2.0429627.029.00=0=10011111
6Hannibal 1.4b29387.027.75000=11=1111
7Cheng4 0.36c27416.026.750===10011=1
8Onno 1.2728194.515.7500000=1=1=1
9Gaviota 0.99b27563.517.00==0=000=01=
10Arminius 18011423902.56.000000000011=
11Redqueen 1.19720362.06.25000000==001
12Delphil 3.224191.03.0000000000==0

Lastly, here's the game schedule for Stage 1b:

GameWhite EngineBlack Engine   GameWhite EngineBlack Engine
1Tornado 5Exchess 7.18b34Tornado 5Nebula 2
2Toga II 010214Jazz 79935Toga II 010214Nightmare 7.8
3Spike 1.4Stockfish 18021436Spike 1.4Naum 4.6
4Naum 4.6Shredder 1237Naum 4.6Exchess 7.18b
5Nightmare 7.8Fire 3.138Nightmare 7.8Spike 1.4
6Nebula 2Arasan 16.339Nebula 2Toga II 010214
7Exchess 7.18bArasan 16.340Arasan 16.3Tornado 5
8Fire 3.1Nebula 241Fire 3.1Jazz 799
9Shredder 12Nightmare 7.842Shredder 12Stockfish 180214
10Stockfish 180214Naum 4.643Exchess 7.18bStockfish 180214
11Jazz 799Spike 1.444Jazz 799Shredder 12
12Tornado 5Toga II 01021445Tornado 5Fire 3.1
13Toga II 010214Exchess 7.18b46Toga II 010214Arasan 16.3
14Spike 1.4Tornado 547Spike 1.4Nebula 2
15Naum 4.6Jazz 79948Naum 4.6Nightmare 7.8
16Nightmare 7.8Stockfish 18021449Nightmare 7.8Exchess 7.18b
17Nebula 2Shredder 1250Nebula 2Naum 4.6
18Arasan 16.3Fire 3.151Arasan 16.3Spike 1.4
19Exchess 7.18bFire 3.152Fire 3.1Toga II 010214
20Shredder 12Arasan 16.353Shredder 12Tornado 5
21Stockfish 180214Nebula 254Stockfish 180214Jazz 799
22Jazz 799Nightmare 7.855Exchess 7.18bJazz 799
23Tornado 5Naum 4.656Tornado 5Stockfish 180214
24Toga II 010214Spike 1.457Toga II 010214Shredder 12
25Spike 1.4Exchess 7.18b58Spike 1.4Fire 3.1
26Naum 4.6Toga II 01021459Naum 4.6Arasan 16.3
27Nightmare 7.8Tornado 560Nightmare 7.8Nebula 2
28Nebula 2Jazz 79961Nebula 2Exchess 7.18b
29Arasan 16.3Stockfish 18021462Arasan 16.3Nightmare 7.8
30Fire 3.1Shredder 1263Fire 3.1Naum 4.6
31Exchess 7.18bShredder 1264Shredder 12Spike 1.4
32Stockfish 180214Fire 3.165Stockfish 180214Toga II 010214
33Jazz 799Arasan 16.366Jazz 799Tornado 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 • • 23d ago

Best chess app like PowerChess?

8 Upvotes

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 • • Oct 21 '26

I hate learning chess openings, so I created my own open-source app (and added to many features)!

8 Upvotes

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). :)

GitHub: https://github.com/AdrianSomething/chess-trainer


r/ComputerChess • • Aug 15 '26

[Research] Otter: A Time-Aware, History-Conditioned Human Chess AI

8 Upvotes

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 • • Jul 26 '26

I made a plugin that floats a Lichess puzzle over your terminal while Claude is thinking

8 Upvotes

r/ComputerChess • • May 30 '26

Chess AI - 2700 ELO.

8 Upvotes

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 • • Apr 18 '26

Ultrachess: a chess.js-compatible rules library in Rust/WASM

8 Upvotes

Built a chess rules core in Rust, compiled to a 45 KB brotli WASM, wrapped in a typed TS API

to try: https://npmjs.com/package/ultrachess

source: https://github.com/yahorbarkouski/ultrachess


r/ComputerChess • • Apr 03 '26

Made an standalone Apple Watch app to play blindfold chess with

8 Upvotes

Currently running the chal engine posted by @whyeventobe a few days ago.


r/ComputerChess • • Mar 06 '26

SCID v5.2 Is Out — free, open-source chess database with a new eval chart and faster tree stats

Thumbnail
reddit.com
8 Upvotes

r/ComputerChess • • Feb 20 '26

I held a 100 game match between Stockfish 18 and Stockfish 15 from the start position. Here are the results.

Thumbnail
reddit.com
8 Upvotes

r/ComputerChess • • Aug 18 '25

I made a chess puzzle CLI so I can study chess while waiting for my code to compile!

Thumbnail
reddit.com
8 Upvotes

r/ComputerChess • • Apr 06 '25

New record: Stockfish crosses the 3700 elo mark

Thumbnail
chessdom.com
8 Upvotes

r/ComputerChess • • Jan 26 '25

any idea how to fix a broken display at a mephisto mini? i dont find anything useful on yt or ebay.

Post image
8 Upvotes

r/ComputerChess • • Jan 08 '25

A New Dotnet Chess Engine - Open Source and Ready to Play

8 Upvotes

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