Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

3D Chess Sanctum

A playable 3D chess game in your browser, in a setting of your choice: a moonlit courtyard, a candle-lit hall or a frozen lake at dawn. Sculpted stone armies walk, fight and shatter; every capture cuts to a duel shot and the losing king topples.

Esempi · 3

Jade Courtyard playable chess game
Apri in una nuova scheda

Funziona in un frame isolato, senza accesso a questa pagina.

Esegui online

Eseguilo in un sandbox di SandBase e visualizza i risultati in Lab.

Apri in Lab ↗

Cosa ottieni

Bring a setting, and optionally the two armies, the light and the props around the board. The Skill returns a downloadable Skill (theme-driven chess engine, set builder, CC0 props, verification) and three playable example games.

Come funziona

  1. 01

    Describe the setting in slots

    Chess Sanctum needs one slot, setting, and takes optional armies, light, props and extraPrompt, each at most 2000 characters. Run node scripts/fill-prompt.mjs --slots slots.json --lang en --out prompt.md, with assets/prompts/examples/jade-courtyard.json as a model. Then node scripts/new-project.mjs --out my-chess --theme my-theme creates themes/my-theme/theme.json from a generic starter.

  2. 02

    Edit only the theme data

    Your coding agent changes the theme: floor, altar, walls, columns, fire bowls, sky, props, piece and board materials, lights, camera room and copy. npm run pack-polyhaven packs a CC0 model from polyhaven.com, and pack-glb packs a GLB you own. The rules, AI, animation and cameras stay untouched. Everything runs locally on Node 22.4 or newer with no model calls.

  3. 03

    Build the theme and run shoot

    THEME=my-theme npm run build:single writes dist-single/index.html, and npm run shoot needs local Chrome. Look at the screenshots in shots/ or read shots/report.json for select, move, AI reply, capture, checkmate, every view, phone taps and no network. Repeat until shoot passes. Built sizes vary by props: the courtyard is 6.6 MiB and the hall 16.2 MiB.

FAQ

What happens in a Chess Sanctum match?

Chess Sanctum is a playable 3D chess game with animated stone statues. Click a piece, then a highlighted square, and the statue strides there. A capture swoops the camera into a duel shot where the attacker swings and the defender bursts into shards. On checkmate the losing king topples and a banner names the winner.

Which themes come with Chess Sanctum?

Chess Sanctum ships three themes on one engine: gothic-sanctum, a candle-lit hall, jade-courtyard, a moonlit courtyard with jade and red lacquer pieces, and frozen-dawn, a frozen lake at sunrise. Build any of them with THEME set to its id before npm run build:single.

How strong is the Chess Sanctum AI?

Chess Sanctum's AI looks one move ahead at captures, checks, the centre and hanging pieces, so it is a sparring partner, not a strong engine. En passant is not implemented, and pawns always promote to a queen. It is not suited to rated or online play.

Can I replace the Chess Sanctum piece models?

Partly. Chess Sanctum themes change the materials of the shared statues, such as jade, lacquer, crystal or obsidian. Replacing the statues themselves needs models with the same skeleton and the Idle, Move, Attack and Shatter clips. Models from another game or a product site are not allowed; use CC0 or your own and list them in CREDITS.json.

Does Chess Sanctum cost anything to build?

No. Chess Sanctum calls no model or paid service, and an agent does the work locally. npm ci downloads pinned packages from npm, and pack-polyhaven downloads CC0 models from polyhaven.com. The built file then runs with no network.

Why does Chess Sanctum allow wasm-unsafe-eval?

Chess Sanctum decodes its compressed models with meshoptimizer's WebAssembly decoder. The game's CSP allows compiling WebAssembly but still blocks eval and network access. The size limit for games is 32 MiB, and heavy foliage scans should be packed with --simplify.

How do I set the Chess Sanctum theme on Windows?

Chess Sanctum's THEME=id syntax is Bash, so run it in Git Bash. In PowerShell use $env:THEME='my-theme'; npm run build:single, and in cmd use set THEME=my-theme&& npm run build:single. Write theme JSON with Node or an editor, because PowerShell's UTF-8 option adds a BOM that breaks JSON.parse.

Skill Lab · Games

Seagull Swoop

Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Skill Lab · Games

Wedding Cake Wobble

Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Skill Lab · Games

Hermit Tide

Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Skill Lab · Games

Clover Circuit: Estate Cut

Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Skill Lab · Games

Glide Gates: Lagoon Run

Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

Skill Lab · Games

3D Interactive Garden Islands

Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.