r/ComputerChess • • Mar 17 '23

Chess.com buys KomodoChess

26 Upvotes

Five years ago, chess.com purchased a stake in KomodoChess along with rights to use our software. Now the merger is complete; chess.com has bought out KomodoChess entirely. Chess.com will now run the website, pay for further development of Komodo, and for the most part take over the responsibilities of both myself and Mark Lefler. Mark and I will remain as paid consultants thru 2025, but chess.com will make the decisions. Dietrich Kappe remains onboard as the NN trainer. It is not yet clear who will be the main programmer or programmers, but development will continue, although perhaps in different directions. The goal of becoming the world's number one engine will remain as a prime goal, but it is expected that this will take some major work and hence I wouldn't expect any quick results.

Further reading: https://talkchess.com/forum3/viewtopic.php?f=2&t=81715


r/ComputerChess • • Jul 01 '21

When generating a mask of blockers for sliding piece move generation using magic bitboards, why can you ignore the edges?

26 Upvotes

The explanation I've seen from the wiki and couple youtube videos and blogs I've read is that let's say you have a rook on a8, even if there is a piece on a1, you can still attack it so you don't need to consider it a blocker. That doesn't make sense to me. Surely if it's a white rook, and the piece on a1 is white, then it is in fact blocking the rook from moving to a1. What gives?

Edit: Okay I get it. In case anybody stumbles across this in the future, it's because you're generating the ATTACK set, not the CAPTURE set. You can't attack past a1 anyways because it's the edge of the board, so it doesn't matter if there is a blocker there or not.


r/ComputerChess • • Oct 31 '20

Deep Blue documentary by Fredrik Knudsen

Thumbnail
youtube.com
26 Upvotes

r/ComputerChess • • Oct 16 '20

Stockfish Defeats LC0 in TCEC 19 Superfinal

Thumbnail thechessmind.net
26 Upvotes

r/ComputerChess • • Aug 07 '26

We're open-sourcing chessboard-native

Post image
25 Upvotes

If you're building a chess app on React Native and couldn't find the right board, we built one

chessboard-native

Fully controlled and declarative

Full parity with react-chessboard

Optimized animations & native gestures

Expo, iOS and Android

Repo link in the comments


r/ComputerChess • • Feb 19 '26

Lichess Stockfish Blocklist

25 Upvotes

As many of y'all know, there is a huge amount of strong, low-effort lichess bots (typically running stockfish) that do nothing but to waste compute and take rating points from original effort engines we are trying to test.

For the past year, another engine developer and I have been curating a blocklist of such engines for almost a year. We've been updating it regularly as new ones pop up. We now have a comprehensive list of around 700 usernames.

Link: https://github.com/xu-shawn/lichess-bots-blocklist

We've integrated this to work seamlessly with the lichess-bot client. Simply add the following field under challenge and matchmaking:

  online_block_list:
    - https://raw.githubusercontent.com/xu-shawn/lichess-bots-blocklist/refs/heads/main/blocklist

...and it'll automatically pull the up-to-date list and regularly check for updates!

Contributions are welcome! Please open an issue or PR if you know a bot that should be on here (or was added by error).


r/ComputerChess • • Oct 13 '24

The best draw you have seen in a while! Stockfish with 6 pawns vs Lc0 with 3 pawns and +3,5 eval

Thumbnail tcec-chess.com
25 Upvotes

r/ComputerChess • • Feb 28 '20

My first engine game without any blunders (crappy python chess engine using neural networks; self play)

25 Upvotes

r/ComputerChess • • Jul 26 '26

Cool Chess: a full-featured chess engine and graphical UI in BASIC

Post image
24 Upvotes

Hey r/computerchess,

I wanted to share a project I have been picking away at called Cool Chess. It started as me messing around with QB64, then got somewhat out of hand and turned into a small self-contained chess program with a graphical board and a playable engine.

I am a chess player, not an engine programmer. I play on Lichess as JeffyJeff, and have followed computer chess off and on since the late 90s. The Kasparov vs. Deep Blue match is what got me into chess in the first place. And I remember looking at Crafty’s source code in absolute awe back then, and later following all the Rybka drama as it unfolded etc. BASIC was also the first (and only!) language I learned as a kid in the early to mid 90s, so this was partly an excuse to get back into it.

I used AI heavily as a coding partner on this. I am not pretending I sat down and wrote a chess engine from scratch in isolation. But I also did not just dump generated code into GitHub and call it a day. I have been testing, debugging, iterating, and trying to understand what the code is actually doing as I go. I definitely was not trying to make Stockfish in BASIC. Mostly I wanted to see how much of a real, playable chess program I could fit into one BASIC file.

The whole thing is self-contained. The board UI is in the source, and even the little pixel-art chess pieces are stored as DATA statements, so there are no external image files or assets.

The mouse input is probably the feature I am happiest with. You click a friendly piece and its legal quiet moves show up as dots, while capturable pieces get blue rings. Click a marked destination to make the move. You can click the same piece again or right-click to cancel, and you can flip the board. Mouse promotions default to a queen. You can also still type moves directly if you prefer, including e2e4, e2-e4, O-O, and e7e8q.

It has undo/redo (takeback!), hints, FEN display, PGN export, adjustable search depth, and a per-move time setting. Default depth is 5 ply, and you can set it from 1 through 10 with "depth n." It handles castling, en passant, promotion, checkmate, stalemate, threefold repetition, the fifty-move rule, and the common insufficient-material draw cases.

Under the hood it is a small classical engine: iterative-deepening negamax with alpha-beta pruning, quiescence search, MVV-LVA capture ordering, killer moves, capped check extensions, a 64-bit Zobrist hash, and a fixed-size transposition table. The evaluation is basic but includes material, pawn structure, passed pawns, development/centralization, rook files, bishop pair, and king-placement terms.

I checked the move generator against initial-position perft through depth 4, plus several standard special-case positions involving castling, en passant, promotion, and checks. I also made a heavily commented tutorial version of the source, because I spent enough time relearning what all this engine terminology actually meant that I figured it might be useful to someone else.

The project repository is available on the Cool Chess GitHub Repository: https://github.com/jeffanderson253-sketch/coolchess/

Note: The Windows executable is unsigned and may get a virus warning if you attempt to download it or run it. I swear on the life of my dead mother it is not malware, but if you are concerned you can compile the .bas file.

I would genuinely appreciate feedback, especially from people who know computer chess or QB64 better than I do. I am particularly interested in small engine or evaluation improvements that would make it play a little sharper without turning the source into something impossible for a normal person to follow.


r/ComputerChess • • Oct 05 '22

Cheating Scandal - How Far CPU's Have Come Since Deep Blue '97

24 Upvotes

Geezers like me will remember the hunt for a CPU to beat the best human throughout the 80's and 90s, and how big a deal it seemed. The contrast with the current age in computer chess is so stark.

From an epic match against a custom ASIC monster, to high level human players potentially cheating from just one strategic peak at a phone in the bathroom.

It stands to reason given 25 years in technology, but seeing the news just made me think about how far it's come.

And the super wild part is it's not stopping any time soon. Given the proliferation of cores/threads in pc's and even phones, the continued process shrinks, NN/AI circuits in GPU's and in CPU's (like Apple Mx and 14th Gen Intel, etc.) its going to just keep getting wider and wider...

And that's just the hardware side, let alone software improvements like what SF did with LC0 and bringing in some NN stuff, or pure NN play etc.

It just made me reflect on how far it's come and much headroom their still is at least performance wise.


r/ComputerChess • • Jul 04 '22

Stockfish wins TCEC Season 22 Swiss to cap dominant season

Thumbnail
chessdom.com
24 Upvotes

r/ComputerChess • • Feb 20 '21

An awesome introduction to (minimax-based) Chess AI by Sebastian Lage

Thumbnail
youtu.be
24 Upvotes

r/ComputerChess • • Mar 12 '20

Leela Chess Zero vs. Stockfish 11 - The 30 Game Match

24 Upvotes

Greetings everyone!

I've just recently installed both Stockfish 11 & Leela Chess Zero onto my PC using the Arena Chess GUI. I was wondering how both engines will perform on a lower-end PC compared to some of the higher-end hardware used during TCEC, for example.

I decided that I will run a 30 game match between Leela Chess Zero running on weight 62723 against Stockfish 11 running on... well, Stockfish 11.

The specs on my PC is as follows:

  • Quad-Core Ryzen 3 2200G

  • 8 GB of RAM

  • RX 570 8 GB GPU

The time control will be based on the time controls used in TCEC Season 17, which are:

  • The first 10 games will be the classical format, with the time control being 120 minutes + 10 seconds increment.

  • The next 10 games will be the rapid format, with the time control being 25 minutes + 10 seconds increment.

  • The last 10 games will be the blitz format, with the time control being 3 minutes + 2 seconds increment.

First-round has already finished with a draw! You can check the full game here: https://lichess.org/study/J4OfkWjO/3iopUtKF

I'll be doing one game per day till the 30th game is played. I'll be posting the results plus the study chapter here on this thread.

Kind regards,

CallOn84


r/ComputerChess • • Jun 10 '26

I' m building a chess engine in public from scratch using a language I completely have no idea on: GO programming language. I think this will keep me accountable and its probably a great way to learn to code. Ideas and thoughts are welcome. Follow to see the build progress. #chess_engine #go

Post image
23 Upvotes

r/ComputerChess • • May 27 '25

I built a free unlimited chess.com game review alternative

Post image
23 Upvotes

Hi there!

We launched 2 months ago and got some great feedback for the game review.

The analysis panel has been released recently and you can now try it on chessigma.com

The community growing and voting for the next features to implement in priority. We are consistently adding new features so don't hesitate to provide feedback.

Thanks to all the users for the support!


r/ComputerChess • • Apr 11 '23

Shocking start of the Top Chess Engine Championship as Lc0 takes a 2,5-0,5 lead vs Stockfish

Thumbnail tcec-chess.com
23 Upvotes

r/ComputerChess • • Mar 20 '23

The number of legal Chess diagrams is less than 4 × 10^37 which is an improvement on the previous upper bound of 2 × 10^40 by Steinerberger.

23 Upvotes

Gourion, Daniel. "An upper bound for the number of chess diagrams without promotion." ICGA Journal (2022)

https://hal-univ-avignon.archives-ouvertes.fr/hal-03483904v2/file/postprint.pdf


r/ComputerChess • • Sep 24 '22

I wrote a website where you can play text-based blindfold chess against Stockfish.

23 Upvotes

I made a post yesterday here about a text-based chess game I wrote where you can play against Stockfish. I've since made it into a website.

Play here: https://www.blindfoldchess.app/

You enter your moves via text in standard algebraic notation (e.g. "e4", "Nf3", "O-O"), and the computer returns a move, and you keep playing until the game is over.

At any point, you can click one of the hint buttons to show the game's moves or the current board position, but you can also obviously play a full game of blindfold chess against it.

Please let me know how you find it. I've been having a lot of fun with it myself.


r/ComputerChess • • Aug 26 '22

Codfish - My first chess engine project in C++

23 Upvotes

Link

It is still in early stages of development but I just wanted to post it out here because I feel proud of what I got so far.

It's not the strongest chess engine by any means, but I tried to make the code as clean and maintainable as possible. I hope some of you might find it helpful!

Feel free to ask questions, critique the code or, even better, contribute to it! Thanks!


r/ComputerChess • • Dec 22 '20

Retro C# chess game controlled entirely by voice commands (article + source code in the comments)

Thumbnail
youtu.be
23 Upvotes

r/ComputerChess • • Aug 13 '20

Chess + programming = your next job?

23 Upvotes

Hello fellow chess programming nerds, I am the original developer of the app "Learn Chess with Dr. Wolf", a virtual chess coach app. In January this year, I joined Chess.com and have been having a good time there building new things.

Would you like to do chess programming for a living? We are looking for one or two chess programming enthusiasts to join us working on software for chess explanation, learning and analysis — the why of Chess.

You can see more about the position and apply here.

Looking forward to seeing a version of this post on /r/AnarchyChess


r/ComputerChess • • May 16 '19

Leela Chess Zero currently has a substantial lead over Stockfish at TCEC Superfinal. 5 wins, 1 loss and 21 draws.

Thumbnail
tcec.chessdom.com
23 Upvotes

r/ComputerChess • • Apr 15 '22

Stockfish takes dominating lead at halfway in the TCEC Season 22 Superfinal

Thumbnail
chessdom.com
22 Upvotes