1. Home
  2. Projects
  3. Ajedrez Mágico
Ajedrez Mágico · Voice-controlled 3D chess

Ajedrez Mágico: a 3D chessboard played by voice, with a custom engine

Ajedrez Mágico is a module of a personal voice assistant: you dictate a move, the 3D board moves the piece, and a Python program acts as referee and opponent. It runs locally; it is not a published product.

Status
In development
Type
Own project · R&D
Platform
Local 3D web app + voice assistant
Year
2026
3D board of Ajedrez Mágico with statue pieces and a starry sky
The project in 30 seconds

What it solves and for whom

01

Problem

Playing chess with a voice assistant requires understanding moves dictated in different ways and consistently enforcing the rules. A language model on its own can make an illegal move.

02

Solution

Voice only dictates. Python, using the python-chess library, validates and remembers the game, and a custom engine chooses the response. The 3D board is rendered in the browser without external services.

03

Who it's for

Personal use by its author, as a module of their assistant. It also demonstrates how to combine voice, 3D, and verifiable rules.

What it does

Speak, move, respond

01

3D board in the browser

Pieces and board built with Three.js and served from the computer itself, without external services. Opens locally at 127.0.0.1.

3D board in the browser
02

Dictated moves

Understands phrases such as “pawn from e2 to e4”, “knight to f three”, or “castle kingside” and converts them into a move on the board.

Dictated moves
03

Custom engine with a quick response

Negamax with alpha-beta pruning and quiescence search; responds in about 2.5 seconds per move. It is neither Stockfish nor a grandmaster.

Custom engine with a quick response
04

Python as referee

Python validates every move and stores the game state, so an illegal move never reaches the board.

Python as referee
In numbers

What was built

Measured in tests
0 “ghost pieces”

The bug in which a captured piece stayed on the board was reproduced and fixed, and a check against the real position was added.

How it's made

Technology behind it

Technology
Three.jsPythonpython-chess
Technical detail

A board in a single HTML file with Three.js (no external dependencies), a minimal local Python server that stores state, python-chess to validate moves, and a custom engine of around 270 lines (negamax, alpha-beta, quiescence). It is a module of a personal assistant.

Status. Studio research project, in development. It runs locally as part of the Destiny assistant; there is no public version.
Gallery

More screens of the product

3D board with pieces
First move
Piece development
Middlegame
Your project

Need something like Ajedrez Mágico?

Tell us the idea in two lines. We'll reply with scope, timeline and a first proposal.