Toy Chess: HTML5 Chess Game
A complete chess game for the web with a glossy toy look. All the official rules, an original chess engine with six opponents, two players on one device, 36 mate challenges and an animated lesson for beginners. Plain HTML, CSS and JavaScript ES modules: no framework, no npm dependencies, no build step.

Six opponents with personality
Pip is just learning, Nina grabs free pieces, Otto is solid and careful, Vera plans ahead, Rex is a sharp attacker and Atlas is the final boss. Each one has six animated portraits, reacts to the game and makes mistakes like a person at the lower levels. The engine runs in the browser in a Web Worker, so the screen does not freeze while it thinks and no server is needed.
Every chess rule
Castling, en passant, promotion to any piece, check, checkmate, stalemate, threefold repetition, the 50-move rule and insufficient material. Tap or drag the pieces, with legal moves marked on the board. Hints, undo, board flip, captured pieces, a move list and automatic saving with Continue.

36 mate challenges and a lesson
12 challenges each of mate in 1, 2 and 3, every one with a verified single winning first move. A wrong move goes back so the player can try again, and See solution plays the whole answer on the board. Learn the pieces demonstrates each piece and the special moves with animation.

Every screen, every language, easy to reskin
Layouts for phones and tablets in portrait and landscape and for desktop monitors, with the board in the center. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Replace the pictures in assets/, change the colors at the top of src/styles.css and tune every animation in the FEEL block of src/config.js.






















