QUIRKAFLEEG
> FOR THE ZX SPECTRUM NEXT
The Quirkafleeg chess engine at the Next's 28 MHz, with a new interface made for the machine: mouse and pull-down menus, a live evaluation bar and main line, two-line analysis, position setup, and games saved to the SD card as PGN.
Beta 1 in ZEsarUX: your fourth move, while the computer already thinks on the reply it expects (pondering).
STRENGTH
2,000 games at 5 minutes + 3 seconds a move, the engine running on a cycle-exact emulation of the Next's Z80 at 28 MHz (the engine of the previous build, measured 25–26 Nov 2026). That is about 2270 on Stockfish's scale.
Beta 1 adds an evaluation cache: the same moves, about 9.5 % faster, which in games is a little more depth. We have not measured its strength separately on the Next, so the number above is the honest one.
How we measure: every change is tested against Stockfish as a fixed outside anchor, with the number of games set in advance and the old version playing the same openings at the same time; it only counts when the 95 % confidence interval is above zero.
ENGINE
The same engine as Quirkafleeg for the 48K Spectrum, given the Next's speed and memory: alpha-beta search with a 64K-entry transposition table, null move, late-move reductions and pruning, and a quiescence search with static exchange evaluation. The evaluation is tuned on millions of positions and knows mobility, king safety and pawn structure; a K+P v K bitbase knows those endings exactly. A small opening book can be switched off.
Everything runs in Z80N assembler; the program sets the CPU to 28 MHz itself and needs a Next with 2 MB of RAM.
HOW TO PLAY
| Move | Type from and to square, e.g. e2e4 ENTER — or click the piece and the square (Kempston mouse) |
|---|---|
| Menus | SPACE on an empty line, or click the menu bar |
| Back / forward | Arrow left / right, or the < Back and Fwd > buttons |
| File | New game, Load, Save — QUIRK1.PGN to QUIRK8.PGN in the folder the program was started from |
| Game | Take back, Forward, Switch sides, Players (you White / you Black / two players), Set up position |
| Engine | Time control (11 levels), Ponder on/off, Opening book on/off, Hint, Analysis (two lines) |
| View | Board (White or Black below), Clocks (running / stopped) |
DOWNLOAD
ZEsarUX: zesarux --machine tbblue --tbblue-fast-boot-mode quirkafleeg-next-beta1.nex (add --enable-divmmc-paging --enable-esxdos-handler for PGN files). README
Freeware. Free to download, play and share unmodified, including on archive sites. Not for sale.
THIS IS A BETA
- Tested in two emulators — ZEsarUX and our own cycle-exact model, whole games with every move checked — but not yet on a real Next. If you try it on hardware, I would love to hear how it goes.
- Saving and loading PGN files is tested with ZEsarUX's esxDOS emulation, not with NextZXOS on real hardware.
- The computer has no weaker levels; a faster time control makes it easier to beat.