r/ComputerChess • • Oct 31 '21

Credit Card Sized Chess Computer

Thumbnail
youtube.com
22 Upvotes

r/ComputerChess • • Oct 05 '21

ChessCoach - A neural network-based chess engine capable of natural language commentary

Thumbnail
chrisbutner.github.io
22 Upvotes

r/ComputerChess • • Apr 25 '21

Nalwald: Chess engine written in Nim

Thumbnail
gitlab.com
22 Upvotes

r/ComputerChess • • Mar 29 '20

Houdini Cloned from Stockfish 8: Source Code

Thumbnail groups.google.com
22 Upvotes

r/ComputerChess • • Aug 24 '26

Perft 15 was independently verified for the first time

21 Upvotes

On 17 August 2026 at 00:49:52, my calculation of perft(15) finished and matched the published value exactly.

perft(15) = 2,015,099,950,053,364,471,960

This is the first independent verification of that number. I can confirm it is correct. For this task over the past few years I created a chess move generation engine running on the gpu.

For context on how far this has moved: the fastest known move generator before Gigantua was ~350 MNPS. Gigantua on CPU raised that to 2.2 GNPS per thread. Gigantua-warp is now three orders of magnitude past that (per gpu), and it scales with gpus too!

How that was achieved among other things -

  • Branch-free, non-divergent code with essentially zero device memory footprint + absolute minimum register usage in Nsight Compute.

  • No materialized move list. Materializing one thrashes shared memory, and shared memory (10× faster than global) is already far too slow for this.

  • Make/unmake with the board held in registers, using a 90° rotated QBB.

  • u128 counters. u64 is a footgun once the trees get this large.

  • Color-free chess. It is never "white vs black", it is us vs them. The side to move always moves in the same direction, and the board is reverted between moves via brevll. All the color-dependent masks and shifts collapse into color-independent constants, and the color-to-move template simply stops existing as a concept.

  • Cooperative groups, a cuda feature, not used at all. We dont talk with other blocks (except indirectly via the transposition table). That is very very important for fast movegen.

More information is here - https://www.talkchess.com/forum3/viewtopic.php?t=86588&sid=198e5a49585f1e1ef0104c08d623ceb1

The complete effort took around 250USD and perft(16) I estimate at 4000-8500usd in terms of vastai rent - which is very much in reach. This reddit post is also a call for action - if you want to expand the knowledge of chess and have access to a gpu cluster, or can get me in touch with someone, please leave a message.


r/ComputerChess • • Jul 19 '26

[Meta] Can we talk about the daily AI generated "I made an app/tool" posts?

21 Upvotes

Maybe this subreddit needs to have a conversation about the daily identical "I made a chess app / tool" posts? If this isn't resolved I'm going to have to unsubscribe which is crazy, because this topic is totally my thing. I made a custom AI chess variant sandbox in 2018 and since then it has gotten a million installs, and I still maintain it. I studied computer science, my day job is AI, and I like talking to juniors about their code projects. So if the content of this subreddit is starting to bug me I think there's a big problem.

In case you're not aware: AI can now one-shot mostly working chess apps and chess variant games. This is spectacular and I'm glad people are having fun doing that. However if a kid spends $1 and 1 hour to one shot their app and it's probably vaporware, probably a few major bugs, no community, no opportunity for discussion because they don't understand the project at all... then I don't see how that contributes to this community.

Sometimes I dig into the code they share or ask questions and it's always a waste of my time. Often I don't even think the posts were written by a human if you can believe it. I figure this started happening here just several months ago.

I'm not sure what to propose. Do we need flair tags for:

  • "new release": bran new release, never before mentioned

  • "GenAI code": project is mostly AI generated code

  • "vibe coded": my project maybe has lots of code but I can't read it at all or discuss it at all

Then again, I'm then asking the mods to do a lot more work which isn't reasonable.

Or maybe a mandatory AI use disclosure if you're sharing an app, project, or tool? That could be automatically enforced - I've seen other threads do an automod action pinned comment asking for "AI use disclosure" that must be replied to. It could ask not just about the post - but any app or tool mentioned in the post. That would help me a lot.

I don't know what else to say - but this is my last shot before unsubscribing. Again, I made a million install custom-built AI chess variant sandbox game so it would be crazy if this isn't the place for me.

Edit: To refine what I've written a bit: most of the time I think these are kids who one shot an app. They're not dishonest. They just have no intention to support, deeply test, understand, or discuss what they've made. So it's a big problem for this community whether we realize it or not.


r/ComputerChess • • Jan 11 '26

Update: Stats from my "exploit human" fast checkmate engine (A/B testing against Stockfish)

21 Upvotes

I made a post about a week ago sharing a chess engine I built designed to checkmate humans in as few moves as possible, rather than just playing the "best" move: https://www.reddit.com/r/ComputerChess/comments/1q34dqu/i_built_an_engine_to_checkmate_humans_in_as_few/. In this game, the human wins if the engine doesn't checkmate them in 30 moves (30 +/- depending on the difficulty setting)

In total, 2,609 games were played to completion. Closer to 2,900 were actually started but about 300 games broke due to issues with my server (causing the game to terminate early).

I ran an A/B/C test on 464 of the games where players were randomly matched against either my engine, Stockfish 17, or Stockfish 11 with contempt=100. I ran this on games where the the engine had to get checkmate in 25 moves or more. Results:

EngineWin rate
My Engine44%
Stockfish 1735%
Stockfish 11 (contempt=100)31%

UX Observations

  • The Slider: The difficulty slider was randomized between 800-1500 Elo by default, but >50% of users never touched it. This is partially why I'm not concerned that the 44% win rate is below 50%... many players likely played the default difficulty rather than turning it up to their ELO.

  • Color Balance: Users won slightly more often as White. I’ve updated the logic to require White to avoid checkmate a few more moves than before.

The page is still up if anyone else would like to try it. I appreciate all the comments in the prior thread... lots of good suggestions and questions.
http://siegechess.com


r/ComputerChess • • Feb 03 '24

New chess engine

21 Upvotes

Hypothetically speaking, some computer science student created chess engine which outperformes current best engines by 5-10%. What is the best way to monetize it or gain as much boost for his career in computer science as possible?


r/ComputerChess • • Nov 22 '22

News You Can Use: Stockfish Normalizes Its Evaluation

Thumbnail
thechessmind.substack.com
21 Upvotes

r/ComputerChess • • Nov 18 '22

ChessBase GmbH and the Stockfish team reach an agreement and end their legal dispute

Thumbnail
stockfishchess.org
21 Upvotes

r/ComputerChess • • Jun 12 '22

Chess program in under 1K of 6502 assembly

Thumbnail
youtube.com
21 Upvotes

r/ComputerChess • • Jun 30 '21

Stockfish 14 release candidate

Thumbnail
github.com
21 Upvotes

r/ComputerChess • • Feb 12 '21

I have a computer I mostly use for chess

21 Upvotes

I have a computer that I mostly use for chess. I will run the most upvoted comment position on stockfish 12 nnue for 1 week. I will then take a screenshot of the position and the PV.


r/ComputerChess • • Sep 12 '19

Artificial Stupidity: One Google Engineer's Algorithms for Bad Chess Playing

Thumbnail
thenewstack.io
21 Upvotes

r/ComputerChess • • Dec 06 '18

210 new AlphaZero chess games released by DeepMind (20 selected by GM Matthew Sadler), along with extended paper

Thumbnail
deepmind.com
21 Upvotes

r/ComputerChess • • May 13 '23

Just found this thing in a drawer at my parents’ house, gonna see if I can get it running

Post image
20 Upvotes

r/ComputerChess • • Apr 27 '23

Stockfish wins the TCEC Season 24 Superfinal

Thumbnail
self.chess
20 Upvotes

r/ComputerChess • • Apr 18 '22

Stockfish 15 release candidate

Thumbnail
github.com
20 Upvotes

r/ComputerChess • • Feb 08 '22

Why does stockfish move quality not increase monotonically with increasing depth?

20 Upvotes

I have been working on a project looking at how stockfish moves change with increasing computation time (here search depth), and have found something peculiar - namely that the quality of moves that stockfish selects does not increase monotonically with depth.

A bit on how i’ve analyzed this. I’ve taken many positions for games appearing online, and then for each position collected stockfish’s move suggestions in that position, at each sequentially increasing depth limit (so getting the move suggested at depth 1, depth 2, depth 3 etc... up to depth 18). Then I have evaluated each of those suggested moves by carrying out the move and using stockfish (at depth limit 18) to evaluate the resultant board state.

The plot below shows the average evaluations of the move stockfish selects at each increasing depth. (Note that for each position, I translated the evaluation to win probability, and then subtracted the evaluation of the move at depth 1 from the rest of the line so it would be at 0. Additionally, I have cleared the cache before each evaluation to try to remove any ordering effects).

Curiously, the evaluations are non-monotonic with respect to depth. That is, according to the evaluations of stockfish at depth 18, the moves selected by stockfish at depth 3 are worse than the moves selected at depth 1.

Does anyone understand why this happens? I would have expected, on average, move quality to increase with increasing search depth.


r/ComputerChess • • Sep 29 '21

Neural Networks For Chess

Thumbnail
github.com
20 Upvotes

r/ComputerChess • • Aug 08 '21

Stockfish increases the margin

Thumbnail
chesstech.org
20 Upvotes

r/ComputerChess • • Jul 22 '21

"Sharp" chess engines?

20 Upvotes

Hello,

Do you know of any chess engine that will always go for 'sharp' lines, where the opponent oftentimes only has one or two good moves that keep the position alive?


r/ComputerChess • • Nov 28 '19

Go master quits because AI 'cannot be defeated'

Thumbnail
bbc.com
20 Upvotes

r/ComputerChess • • Mar 13 '19

A repository for commonly used free computer chess apps, engines, opening books, and utilities

Thumbnail westportchessclub.org
20 Upvotes