MagicTree

MagicTree

A free, UCI-compliant chess engine written in C++

MagicTree plays chess at a grandmaster level

Built to Compete

Every component of MagicTree is engineered for strength and efficiency — without a neural network.

⚙️

PEXT-Based Attack Generation

Uses the BMI2 PEXT instruction for O(1) sliding-piece attack lookups. Pre-computed rook and bishop attack tables are indexed by a hardware-accelerated occupancy hash — no magic multipliers needed. Requires a BMI2/PEXT-capable 64-bit CPU.

🧮

Tapered Handcrafted Evaluation

A classical handcrafted evaluator (HCE) — no neural network and no NNUE file. Midgame and endgame scores are interpolated by material phase, now sharpened by a blend of pawn, non-pawn, and continuation correction histories.

🔍

Deep Alpha-Beta Search

PVS with aspiration windows, null-move pruning, LMR, late move pruning (now extended to depth 8), singular extensions, reverse futility, and reworked, history-aware SEE pruning with an optional endgame guard.

Transposition Table & Prefetch

A Zobrist-keyed transposition table sized via the UCI Hash option. Child TT buckets are prefetched after each move to hide memory latency, and a maintained non-pawn Zobrist key feeds the correction-history blend.

📊

Rich Move Ordering & History

Move ordering layers TT/PV moves, SEE-split captures, MVV-LVA, granular capture history (attacker / to-square / victim piece type), killers, counter moves, and both 2-ply and 4-ply continuation history for early cutoffs.

🔌

UCI Compatible

Implements the Universal Chess Interface (UCI). Load it into Arena, Cute Chess, BanksiaGUI, Shredder, or Fritz/ChessBase. Configurable Hash and Move Overhead, plus new SEE and correction-history tuning options in 3.2.

What is MagicTree?

MagicTree 3.2 is a 64-bit Windows UCI chess engine written in C++. It loads into any UCI-compatible GUI — such as Arena, Cute Chess, BanksiaGUI, Shredder, or Fritz/ChessBase — and plays chess at a grandmaster level. It is an engine only: it does not ship its own graphical board, opening-book manager, or analysis GUI.

Its strength comes from a tapered handcrafted evaluation (no neural network) and a deep alpha-beta search, accelerated by BMI2 PEXT sliding-attack lookups. Created and maintained by Vikrant Malvankar (India). MagicTree is distributed as free, binary-only software — it is freeware, not open source, and the source code is not included.

$ "MagicTree 3.2.exe"
MagicTree 3.2 — UCI chess engine
━━━━━━━━━━━━━━━━━━━━━━━━
uci
→ id name MagicTree 3.2
→ id author Vikrant Malvankar
→ uciok
isready
→ readyok
position startpos
go depth 10
→ bestmove e2e4

Engineered for Strength

MagicTree plays at a grandmaster level on a hardware-accelerated, classical search core — built for 64-bit Windows with a BMI2/PEXT-capable CPU.

BMI2 / PEXT
Attack backend
Hardware PEXT lookups for rook and bishop attacks.
1–4096 MB
Configurable hash
Transposition table sized via the UCI Hash option.
TT Prefetch
Latency hidden
Child TT buckets prefetched after each move.

Estimated Rating vs. Competitors

Blitz · 2+1

Approximate playing strength at a Blitz time control of 2+1 (two minutes plus a one-second increment).

#EngineEloSource
1Spike 1.42950CCRL Blitz
2Fridolin2746CCRL Blitz
3Fatali2735CCRL Blitz
4MagicTree 3.2This engine2725Private testing (estimate)
5RedQueen2694CCRL Blitz

MagicTree's Elo is an estimate based on private testing and is not an official rating.

All other ratings are taken from CCRL Blitz.

What's New in 3.2

Latest Release
  • Late Move Pruning maximum depth raised from 5 to 8.
  • More aggressive null-move pruning (depth divisor changed from 6 to 5).
  • Internal Iterative Reduction replaces the older internal iterative deepening block.
  • Reworked, history-aware SEE pruning with an optional low-material endgame guard.
  • Granular capture history (attacker / to-square / victim) plus new 4-ply continuation history.
  • Static-eval correction history extended to a pawn, non-pawn, and continuation blend.
  • New UCI tuning options: SeeCaptureMargin, SeeQuietMargin, CorrPawnWeight, and more.

Frequently Asked Questions

Is MagicTree free to use?
Yes. MagicTree 3.2 is a free binary release. You can download, run, and redistribute the unmodified executable at no cost for personal, educational, analysis, tournament, and non-commercial chess use.
Is MagicTree open source?
No. MagicTree is freeware, not open-source software. The executable is free to download and use, but the source code is proprietary and is not distributed, licensed, or available for modification.
How do I use MagicTree with a chess GUI?
MagicTree implements the UCI protocol. Add "MagicTree 3.2.exe" as a new engine in any UCI-compatible GUI — Arena, Cute Chess, BanksiaGUI, Shredder, or Fritz/ChessBase — and it will register as "MagicTree 3.2 by Vikrant Malvankar".
How strong is MagicTree?
MagicTree plays chess at a grandmaster level.
Does MagicTree use a neural network (NNUE)?
No. MagicTree uses a tapered handcrafted evaluation (HCE) together with BMI2 PEXT attack lookups. No neural network or NNUE file is included in the release package.
What are the system requirements?
A 64-bit Windows system with a CPU that supports the x86-64 BMI2/PEXT instruction set (Intel Haswell, AMD Ryzen, or newer). On CPUs without BMI2/PEXT this build may fail to start.
What is included in the release?
The engine executable only. There is no opening book, no endgame tablebase support, and no NNUE network file. Only one principal variation is reported, and no "Threads" UCI option is exposed in this build.