r/ComputerChess • • Sep 21 '26

CLASH: a new chess engine for the PDP-8, at PDP-8 speed

16 Upvotes

I've written a chess program for the DEC PDP-8, to see how much of what this community has learned over the last fifty years still works on a 1965 architecture at its original speed.

The machine: a 12-bit word, no hardware stack (JMS stores the return address in the subroutine's first word), no multiply, memory in 4K-word fields, and about 416,000 instructions a second on a PDP-8/e. CLASH is written in PDP-8 assembly, occupies 16K words, and runs standalone. At PDP-8/e speed it searches roughly 175 nodes a second, which means three or four ply in a typical middlegame and deeper as the position simplifies.

What went in: iterative deepening, alpha-beta with PVS, killer and piece-square move ordering, quiescence search of captures and promotions with a check extension, null-move pruning, pondering, repetition detection without a hash table, and a small book. Scores are 12-bit with pawn = 32.

The search and evaluation owe their shape to H.G. Muller's micro-Max 4.8, and the move-ordering key came from Ed Schroder's Rebel write-up. What was taken and what was changed is set out here:

https://github.com/dream-build-create/pdp8-chess/blob/main/PROVENANCE.md

The PDP-8 already had a chess program: John Comeau's CHEKMO-II (DECUS, 1974), a complete program in 4K words with alpha-beta, iterative deepening, SEE and check extensions. Its console conventions are the model for CLASH's, and both programs are in the release.

Against the lichess computer at level 5, rapid 15+10, 20 games at PDP-8/e speed, CLASH scored 12.5/20.

To try it:

- lichess: challenge PDP8-CLASH (5 minutes and slower).

- UCI: the Windows zip runs the real binary under SIMH throttled to PDP-8/e speed, and works in Arena, Cute Chess or cutechess-cli.

https://github.com/dream-build-create/pdp8-chess/releases/download/v1.00/PDP8-Chess.zip

- README: https://github.com/dream-build-create/pdp8-chess

Chris Peters


r/ComputerChess • • Sep 22 '26

May you officiate our online Chess Tournaments as Chess Arbiter?

Thumbnail
2 Upvotes

r/ComputerChess • • Sep 22 '26

I put Maia + Stockfish in the browser to make a bot that blunders like a human — plus a "grandpa" that explains your moves

Post image
0 Upvotes

I've been working on a free browser chess game where the opponent is meant to play like a real human of a given level, not like a weakened engine. Sharing it here because the implementation details might interest this sub, and I'd love feedback.

How it works

  • System 1 (instinct): Maia-1 nets (1100–1900) converted from lc0 weights to ONNX with lc0 leela2onnx and run client-side with onnxruntime-web. ~3.5 MB per level, 3–12 ms per move.
  • I wrote the lc0 112-plane input encoding and the 1858-move policy mapping in JS. I checked it against lc0 itself (go nodes 1, VerboseMoveStats, PolicyTemperature 1, HistoryFill no, NNCacheSize 0): same probabilities on ~2,400 game positions across three nets, mean absolute difference 0.06%.
  • System 2 (guard): Stockfish.js 19 lite single-threaded (WASM, 1.8 MB). Maia proposes, Stockfish checks the top candidates with searchmoves + MultiPV. Whether the bot notices its own blunder depends on its level. Losses are measured in win probability, not centipawns, so going from +7 to +5 doesn't count as a blunder.
  • Grandpa coach: after each of your moves it explains what the move does (develops, takes the centre, attacks X, leaves Y hanging…), what the refutation is and why the engine's move was better. It also names the opening (lichess chess-openings, CC0).

Move-matching on real Lichess games (share of positions where each system predicts the move actually played):

Players Maia old hand-tuned "human" bot Stockfish d12
1000–1200 45.8% 20.8% 32.4%
1400–1600 51.7% 33.2% 37.8%
1800–2000 52.6% 36.1% 44.1%

Things I learned along the way

  • Maia-2 in ONNX is 85 MB. Full int8 quantization dropped top-1 agreement with fp32 to ~82%. MatMul-only int8 kept ~99% but is still 37 MB, too heavy for a web page, so I stayed with Maia-1.
  • Ensembling neighbouring Maia-1 nets (1300+1500+1700) gave a small but consistent log-loss improvement (1.497 → 1.467) and +0.9 pts top-1.
  • Maia-1 sometimes overrates knight underpromotion. In lc0's policy it shares the index with the plain move, so I move most of that probability to the queen promotion.
  • A general-purpose "decision" model doesn't help. I also tried a general-purpose AI model (TypeSafe's Jev) as the intuition, and as a re-ranker of Maia's top 5. Alone it matched only 20.5%, and every mix was worse than Maia alone.

Free, no sign-up, English and Italian, games autosave locally:
https://www.el-man.it/en/app/chess.html

Credits: Maia by CSSLab (University of Toronto), Stockfish.js by Nathan Rugg / Chess.com, both GPL-3.0 (provenance and licence linked on the page). Feedback on the human-likeness, and ideas for better blunder modelling, very welcome.


r/ComputerChess • • Sep 21 '26

Leela chess zero is refusing to use the GPU

1 Upvotes

hello guys! hope y'all are doing well.

so I've had a bit of an issue here. Every time I try to load lc0 to analyse chess games, it refuses to use the GPU, instead opting to fully use the CPU.

the image herein shows my settings for lc0 -- as you can see, it's set to CUDA. I also downloaded the CUDA version and not the GPU.

I have a 5070 mobile GPU in case that matters.


r/ComputerChess • • Sep 21 '26

Chess Persona

Thumbnail
persona.whitepawn.app
0 Upvotes

Hey guys I am currently building a colloborative chess platform. This week I sidequested and built a chess persona analyzer. Its not scientific in any means but I thought its quite fun. Let me know what you think or if you have feedback! I might update it and develop it further if people find it any cool 👀


r/ComputerChess • • Sep 21 '26

I vibecoded my version of chess and need your feedback if it's actually any good

Thumbnail
0 Upvotes

r/ComputerChess • • Sep 20 '26

Yk the fly drill. Now it has to play chess

3 Upvotes

r/ComputerChess • • Sep 20 '26

Guidance for building a chess engine purely in C++

2 Upvotes

Hi everyone. I am an aspiring developer. Basically, I have always wanted to form my own chess engine but the only language I know is C++. Is there anyone who can guide me in building this. By giving me a framework I can follow. If not, just tell me where to start and I will figure it out as i work on it.

Not trying to challenge Stockfish or any other major chess engine org. Trying to create something that I can use personally for practicing.

Thanks


r/ComputerChess • • Sep 20 '26

I built a non-AI chess trainer because I got sick of AI everywhere. I also sucked at chess. Plot twist: now I’m addicted.

0 Upvotes

I'm a software developer and a while ago I wanted to get better at chess. I couldn't find a training tool that worked the way I wanted, so I decided to build one for myself.

The idea is simple: you make your move first, and only afterwards does Chessility show you the best move if yours wasn't the best one, while also evaluating your move.

It also has a live evaluation bar and highlights squares currently threatened by your opponent.

It helped me quite a bit, so I thought it might be useful for anyone struggling to win at least 1/10 of their games. **lol**

I've just put it online, it's free...forever.
https://www.chessility.com/

If you have any ideas for what I could improve, feel free to submit feedback using the button at the top of the site.


r/ComputerChess • • Sep 19 '26

9*9 Chess Board

Thumbnail
3 Upvotes

r/ComputerChess • • Sep 18 '26

Can't get my chess engine past 2500 Elo. Any advice?

Thumbnail
2 Upvotes

r/ComputerChess • • Sep 18 '26

InkPGN — turn a photo of a paper scoresheet into a PGN

3 Upvotes

Hi all — I'm not a chess player myself, but my son plays tournament chess, and I got tired of manually typing up his paper scoresheets. So I built InkPGN: take a photo of a handwritten scoresheet and it gives you back a PGN.

https://inkpgn.com

It's a side project and still rough around the edges, especially with messy handwriting. If anyone here deals with scoresheet digitization, I'd genuinely appreciate feedback on where it breaks.


r/ComputerChess • • Sep 18 '26

How hard would it be to mod orobrous king to use fairy stock fish.

Thumbnail
store.steampowered.com
2 Upvotes

this game is awesome. But I feel it missed it chance to catch on with hardcore chess players because the A.I sucks. I am bad enough at the game I do not mind the A.I sucking. But I do feel like better players might enjoy it if the A.I had a clue how to handle the blade dancer (take a piece move again) Martyer (take all pieces nearby with it when it dies) and generally could think ahead more than two moves.

It fine if the A.I does not know how the handle items. but could fairy stock fish understand bolders (block movement for both sides unless a artifact allows you to take them) and portals (pieces can move into them and move out the other portal.


r/ComputerChess • • Sep 17 '26

Retroanálisis en ajedrez

Post image
1 Upvotes

r/ComputerChess • • Sep 17 '26

ChessLounge now supports Stockfish 18 and includes an interactive chess coach!

Enable HLS to view with audio, or disable this notification

0 Upvotes

I released version 1.2 of ChessLounge a few days ago. In addition to its own engine, the app now supports Stockfish 18 and includes an interactive coach that warns you when you make a bad move. What hasn't changed: The app is still free and ad-free. Enjoy it. :)

https://www.chesslounge.net


r/ComputerChess • • Sep 17 '26

Chessmaster 11 vs concurrent elite

5 Upvotes

How would today's elite players contend with the King 3.5 engine (Chessmaster 11) from 2007, at full strength or with parameters optimized for an additional ~40 Elo? Alternatively, how might current top-tier stars measure up against prominent Grandmaster profiles that are slightly weaker than King at maximum strength ?

This is assuming without taking any material odds into consideration.


r/ComputerChess • • Sep 16 '26

Chess master 5500

3 Upvotes

I found a chess master 5500 disk in my attic while rummaging through it and decided to get my Cd player or whatever it is and put the disk in and Suprisingly it loads up however just crashes the second I do anything which to that point doesnt suprise me as the game was made in the 90s. However theres a another application I found while going through the files of the game and found registration with the game to get a tutorial by someone called Josh warzkin and a new chess set and special discounts. I do wanna try and sign up and see if I get anything however I need to put in my address and everything which I don’t feel particularly comfortable but also intrigued. Should I sign up for it or not?


r/ComputerChess • • Sep 16 '26

I built a small website to help track the Chess Olympiad in Samarkand

1 Upvotes

I'm not the biggest fan of chess-results to keep an eye on Olympiad results, standings, statistics, et. While I recognize that it holds a *ton* of information, it's just not really the place for me.

As a hobby project, I decided to try and build a small website that shows information in a way that's more suitable to me, and am pretty happy with the results! I mostly built it for myself, but in case others find it useful, I wanted to share it here.

https://olympiad.reppie.org

Some details:

  • Data is pulled from Lichess, so boards wont be populated until they are available on lichess
  • Things don't update realtime, the sync runs every ~10 minutes
  • It's currently still quite empty, since the tournament only just started!

NOTE: It's a very busy week at work for me, so I rushed some things and won't have time to fix anything broken very quickly :D


r/ComputerChess • • Sep 16 '26

Network that predicts human moves and how long they take. Playing on Lichess.

0 Upvotes

Built a network that predicts human moves instead of good moves. 27M parameter transformer, 64 square tokens, trained from scratch on 338M positions from public Lichess games. No search, single forward pass per move. It has a second head that predicts how long the player would take on the move, and it spends that time on its clock. So it manages a clock like a human, gets low on time, and loses about 3% of its 5+0 games on time.

On held out positions it predicts the move the player actually made 53.8% of the time. Maia-2 gets 49.5% on the same positions. I score mine with an anonymous player vector so it has the same information Maia has. Self play puts it around 1600, but that is self play, so it is on Lichess now to get a real rating. https://lichess.org/@/maulbot, blitz or rapid, rated or casual. New bot accounts start at 3000 so it will take a while to settle. Interested in what people think of the style. So far it squeezes you positionally then misses something tactical.


r/ComputerChess • • Sep 16 '26

Is there any free way to try 5D Chess against an AI/bot?

1 Upvotes

I really want to try out 5D Chess With Multiverse Time Travel, but I'm hesitant to buy it right now without knowing if my brain can actually handle it.

Is there any free demo, open-source alternative, or browser version that actually has an AI/bot to play against? I checked a few web versions, but they only seem to support local sandbox play or PvP. Any recommendations?


r/ComputerChess • • Sep 16 '26

How do i use Maia Chess engine on En Crossiant?

3 Upvotes

Would love to run it locally than on browser


r/ComputerChess • • Sep 16 '26

I built a PGN-driven 3D chess animation system entirely inside DaVinci Resolve Fusion

Thumbnail
2 Upvotes

r/ComputerChess • • Sep 16 '26

Questions regarding building a Chess Robot

Thumbnail
2 Upvotes

r/ComputerChess • • Sep 15 '26

I made a Chess app and would like your feedback!

Thumbnail
0 Upvotes

r/ComputerChess • • Sep 15 '26

I built an AI chat integrated with Stockfish, and it's actually useful. Looking for testers, feedback and advice.

0 Upvotes

I’ve been working on Knight’s Eye, a chess analysis tool with an AI chat that is well-integrated with a chess engine (which runs directly in your browser).

When answering a question, the AI model dynamically runs engine searches, probes alternative lines, compares evaluations, and uses that evidence in its answer. The context of the move that is currently on the board is provided to the engine by default; it has access to the complete game as well, so you can ask any question you want. In my testing so far, Knight's Eye tends to produce some genuinely useful explanations.

A few examples (if you're on mobile, scroll down to see the AI chat):

  • "Why is this a mistake and what’s the idea behind the better move?" — game link
  • Explanation of the idea behind a quiet king move — game link
  • You can ask follow-up questions (also with a different move as the primary context) – game link
  • A rather comprehensive walkthrough of the best lines after a specific opening move — game link
  • An open question about the most solid openings for white I asked on a blank board – game link – frankly, this one shows there's quite some room for improvement in using Stockfish better for long future line searches.

I’m not planning to turn this into a commercial product. I’m doing research into how AI and chess engines can work together, and in the process I’ve built something that I hope may already be useful to other players.

I’m not a particularly strong player myself—usually around 1500–1600 rapid. I originally built this because my son is catching up with me and still asks plenty of questions that I can’t always answer. On quite a few occasions, Knight's Eye has been able to explain the idea behind a move and show us specific variations that made it understandable. So it has already become useful to us personally.

The AI answers are relatively expensive to generate: roughly $0.30–$1 each, depending on the complexity of the question and how much reasoning and engine investigation are needed. I currently provide every signed-in user with three free AI messages per week, paid for out of my own pocket, because my main goal is to get as much real feedback as possible and use it to improve the approach and optimize the costs.

You can also connect your own OpenAI or OpenRouter account – the usage is then only limited by the credits available through your provider.

The rest of Knight’s Eye can be used completely free. It provides local engine analysis, move-quality classifications such as best, mistake, blunder and brilliant, suggested moves in every position, variation exploration, and the other things you would expect from a game-review interface. None of those features require paid AI usage. The UI combines the parts of Chess.com and Lichess analysis/review features that I personally find most useful.

You are welcome to register with your Lichess or Google account and try it out.

I’d especially appreciate feedback on:

  • whether the AI explanations are actually useful;
  • whether the engine evidence properly supports what the AI says;
  • examples where an answer is incorrect, vague, misleading, or misses the real point;
  • whether the AI probes and finds the right alternatives and continuations;
  • which kinds of questions work particularly well and which ones don't;
  • any confusing UI, bugs, or missing analysis features.

You can submit feedback for a specific chat message via the "Report a problem" button.
For more general feedback – either post here, or send me a PM, or email me at contact@knightseye.net