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.

28 MHZ Z80N MOUSE & MENUS PGN ON SD BETA 1
Quirkafleeg Next: the board, clocks, evaluation bar, main line and move list after 1.e4 e5 2.Nf3 Nc6 3.Bc4 Bc5

Beta 1 in ZEsarUX: your fourth move, while the computer already thinks on the reply it expects (pondering).

STRENGTH

45.8%
against Stockfish 17.1 limited to UCI_Elo 2300
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

MoveType from and to square, e.g. e2e4 ENTER — or click the piece and the square (Kempston mouse)
MenusSPACE on an empty line, or click the menu bar
Back / forwardArrow left / right, or the < Back and Fwd > buttons
FileNew game, Load, Save — QUIRK1.PGN to QUIRK8.PGN in the folder the program was started from
GameTake back, Forward, Switch sides, Players (you White / you Black / two players), Set up position
EngineTime control (11 levels), Ponder on/off, Opening book on/off, Hint, Analysis (two lines)
ViewBoard (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

BETA 1 · 28 NOV 2026
  • 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.