← Back to projects

Tesseract

Four-dimensional chess on an 8×8×8×8 grid of 4,096 cells, with piece movement rules extended to four axes and two autonomous CPU players.

Complete · Playable demo

Open demo
Tesseract: a rotating 4D chess projection beside autonomous-simulation controls and an 8x8 plane inspector.

Screenshot · Tesseract demo · captured 2026-09-06

Built
Apr 2026 – Sep 2026
Role
Solo
Stack
React · JavaScript · Canvas 2D · Web Workers · Vite
Status
complete

Making four dimensions inspectable

Tesseract extends chess movement across four axes, each with eight positions. Fixing the z and w coordinates produces an ordinary 8 × 8 board: 64 slices cover the full space of 4,096 coordinates.

Browser simulation

The React interface combines a rotating Canvas 2D projection with a plane inspector. A Web Worker runs the move engine while the interface remains available for orbiting, selecting pieces, and inspecting coordinates. Visitors can run two CPU players, advance one move at a time, or reset the simulation. Continuous playback holds each result for 3.5 seconds, then starts a fresh game while the projection keeps rotating.

Limits

The CPU checks for immediate mates and considers opponent replies for its top 12 move candidates, with a bounded search for opponent mating threats. This is an experiment in spatial interaction, not a strong chess AI or a standardized four-dimensional rule set. The demo runs entirely in the browser.