NARC Next — new UCI engine, request for CCRL testing

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

madushan1996
Posts: 16
Joined: Sat Aug 08, 2026 3:08 am
Location: Kurunegala, Sri Lanka
Full name: Madushan Dissanayake

NARC Next — new UCI engine, request for CCRL testing

Post by madushan1996 »

Hello everyone,

I'd like to announce the first public release of NARC Next , a C++20 UCI chess engine written from scratch
Image

Repository: https://github.com/Madushan996/NARC-NEXT
Downloads: https://github.com/Madushan996/NARC-NEX ... s/tag/v4.1
Author: Madushan Dissanayake
Country: Sri Lanka
Protocol: UCI
License: GNU GPL v3 or later, full source in the repository
Downloads
  • NARC-Next-4.1-x86-64-v3.exe - AVX2/BMI2, for Haswell (2013) and later. Recommended.
  • NARC-Next-4.1-x86-64-v2.exe - SSE4.2/POPCNT, compatibility build for older CPUs.
Both are 64-bit Windows, statically linked, with no DLLs and no external
network file - the NNUE is embedded in the executable, so there is nothing to
configure. Just point your GUI at the exe. Neither build uses -march=native.
The two are functionally identical and produce identical node counts at a fixed
depth; they differ only in speed.
The source is platform-neutral C++20 and builds on Linux and macOS with the
same command, if anyone wants to compile it elsewhere.
What's under the hood
  • Board: bitboards, magic sliding attacks, 16-bit move encoding, Zobrist hashing
  • Search: alpha-beta PVS with iterative deepening and aspiration windows, four-entry cluster TT, null-move pruning with verification at high depth, LMR, LMP, futility and reverse futility, ProbCut, singular extensions, SEE-based pruning
  • Move ordering: TT move, SEE-classified captures with capture history, killers, countermoves, butterfly and continuation history at 1, 2 and 4 plies back
  • Evaluation: embedded NNUE, 768->256 perspective network with SCReLU activation, eight output buckets selected by major-piece configuration, plus a set of hand-crafted pawn-structure features fed in at the output layer
  • SMP: Lazy SMP, 1-256 threads
The pawn-feature part is the one thing I haven't seen elsewhere - most NNUE
implementations are purist about letting the network learn structure itself,
and I gave mine a shortcut instead. I'd be curious whether anyone has tried
something similar and how it went.
Strength
approximately 3250–3400 Elo (provisional) This is only a rough estimate based on my own short-time-control testing., My only external data is a 132-game round robin at 1min+1sec on my own hardware:

Code: Select all

                        vs SF8          vs SF7          Total
NARC Next 4.1        54.0 - 46.0     17.5 - 14.5     71.5/132  (54.2%)
54/100 against Stockfish 8 is about one standard error above equality, so the
sample is consistent with anything from a small deficit to a moderate edge. I
read it as roughly parity with Stockfish 8 at that time control, not
better, and I'm deliberately not quoting a performance rating off it. The 32
games against Stockfish 7 are too few to carry weight on their own.
Two caveats worth stating plainly:
  • Short time controls compress rating differences, and this ran on a single machine with both engines sharing it.
  • My time management has been tuned at fast controls (0.25s+0.10s and 100 ms/move) across many gated versions, so 1min+1sec is close to the regime I optimised in. I have no data at anything near 40/15 and would not be surprised if it scales worse than the above suggests.
Development ran on a self-play gating ladder; earlier versions measured well
below this (3.7 was about -123 Elo versus Stockfish 8 at 0.25s+0.10s). The
gains since appear real, but these are my own numbers, on one machine, under my
own conditions.
Testing notes
  • No opening book of any kind in the binary - there is nothing to disable.
  • No learning between games; the engine writes no persistent state.
  • Deterministic by default. An external net loads only through the explicit EvalFile option.
  • Options: Hash (default 128, 1-4096 MB), Threads (default 1, 1-256), Move Overhead (default 30 ms), EvalFile, Use NNUE (default true), Use Policy (default false).
It plays full games without crashing and handles ucinewgame, position
startpos/fen with move lists, clock-based go with wtime/btime/winc/binc,
movetime, and go infinite followed by stop. It exits cleanly on quit.
To confirm your download matches what I tested:

Code: Select all

printf 'uci\nisready\nposition startpos\ngo depth 13\n' | NARC-Next-4.1-x86-64-v3.exe
Expected at depth 13 from the start position: score cp 37, nodes 168609,
bestmove e2e4. Identical in both builds.
One note if you script a quick check rather than using a GUI: the search runs
on a background thread, so sending "quit" immediately after "go" aborts it
before completion and returns the first legal move. Normal GUI use is
unaffected.
Originality
No Stockfish source code is copied or linked - board representation, move
generation, search and NNUE inference are written from scratch, and the engine
builds from a single translation unit with no third-party engine code.
For full disclosure: the NNUE is trained by knowledge distillation on positions
labelled with Stockfish 18 evaluations, and an optional root-policy network
(disabled by default, contributing nothing to play unless explicitly enabled)
on Stockfish 8 move choices. The classical fallback evaluation uses the public
PeSTO tables by Ronald Friederich.
The search techniques are all from the public literature - PVS, null-move
pruning, LMR, singular extensions, ProbCut, history heuristics. The
implementations are mine; the ideas are long-standing community knowledge and I
claim no novelty for them.
Testing request
I'd be very glad to see it tested independently - I have no reliable estimate
of where it actually stands, and my own numbers are the least interesting kind
of evidence. If any CCRL tester is willing to pick it up I'd appreciate it, and
I'm happy to provide additional builds if the ones above don't suit your setup.
Bug reports, criticism and "you should really be doing X instead" are all
genuinely welcome.
Thanks for reading.
Madushan Dissanayake
Mark Tang
Posts: 28
Joined: Tue Feb 17, 2026 1:57 pm
Location: China
Full name: Mark Tang

Re: NARC Next — new UCI engine, request for CCRL testing

Post by Mark Tang »

OK, we'll soon arrange your engine's testing. Could you provide its approximate elo strength
madushan1996
Posts: 16
Joined: Sat Aug 08, 2026 3:08 am
Location: Kurunegala, Sri Lanka
Full name: Madushan Dissanayake

Re: NARC Next — new UCI engine, request for CCRL testing

Post by madushan1996 »

Thanks! It is approximately around 3350 according to my testing so far.