T
TYSONLABS
Back to all projects
AI & Agents·Open SourceAI & WASM

Tyson Chess · Engine-Powered Training OS

Stockfish 18 WASM chess trainer with real-time coaching and spaced repetition.

Stack:ReactTypeScriptStockfish 18 WASMWeb WorkersPWATailwind CSS
♞ STOCKFISH 18WASM CLIENT
+2.45depth 22
c4
e5! (Best)
Nc3
Nf6 (Book)
Coach: "Knight outpost established on d4"
BLUNDER GUARD ACTIVE
Verified Status: October 2026Zero employer conflicts · Independent IP

Overview & Problem Space

Most chess apps either offer simple raw engine evaluations (+1.4) that confuse amateur players, or lock instructional coaching behind expensive monthly subscriptions. Tyson Chess provides deep, humanized coaching running purely on client hardware.

The Friction:

Intermediate chess learners plateau because engine scores don’t explain the strategic intuition or immediate hazards of a blunder. Furthermore, players forget their recurring tactical blind spots without systematic review.

Target Operator:

Club players, aspiring tournament competitors, and adult improvers seeking targeted blunder-reduction drills.

The Solution & Contribution

A zero-backend web platform running WebAssembly Stockfish in a dedicated web worker. It features a blunder safety net that halts catastrophic moves during casual play and prompts tactical reflection.

Direct Responsibility & Engineering Role:

Creator & Engine Engineer — Compiled and tuned the Stockfish WebAssembly integration, built the custom bot heuristic softmax weighting, and created the spaced repetition blunder scheduler.

Technical Architecture

Frontend Layer
React, TypeScript, react-chessboard, Tailwind CSS, Lucide icons
Backend & Routing
Zero-backend client architecture with localStorage schema versioning
AI & Heuristics
Stockfish 18 WebAssembly with custom depth and evaluation evaluation wrappers

Key Features & Capabilities

Plain English Tactical Coach

Coaching

Replaces raw engine numbers with explicit tactical callouts: "Knight is pinned to the King", "Rook hangs without defenders".

Calibrated Softmax Bots

Engine

Bots simulate human mistake profiles rather than robotic depth cutoffs, making tactical slip-ups characteristic of their Elo band.

Personal Mistake Vault

Spaced Repetition

Automatically captures every blunder made during sparring and converts it into a scheduled puzzle review.

Repertoire & Trap Trainer

Curriculum

11 annotated master opening repertoires and 12 classic traps with interactive play-and-defend tests.

Engineering Decisions & Insights

Used WebAssembly multithreading and SharedArrayBuffer with fallback to single-thread worker for broad device compatibility.

Implemented hash-based routing (`/#/play`) to allow static PWA installation on iOS and Android with zero server routing requirements.

Balancing bot difficulty required empirical round-robin tournament simulation scripts to verify that rating ordering remained consistent across thousands of games.

Operational Benchmarks

Stockfish 18
Engine Engine
WASM compiled
230+ Puzzles
Drill Library
Mined from bot blunders
$0/mo
Backend Cost
100% client execution

Related Projects

View directory →