tinker-chess
A polished 3D international chess game for TINKER, built with Three.js.

Highlights
- Classic chess rules — play on a standard 8×8 board with castling, en passant, promotion, check, checkmate, and stalemate
- Fair draws — threefold repetition, the fifty-move rule, and insufficient-material endings
- Play your way — local two-player mode or a computer opponent with Beginner, Steady, and Master difficulty
- Thoughtful computer opponent — alpha-beta search, iterative deepening, transposition tables, and move ordering
- Tactile 3D board — detailed pieces, reflective table, lighting, move animations, and orbit controls
- Flexible controls — mouse, touch, keyboard, and WASD support with undo and move sound effects
- Remembers your choices — mode and difficulty selections are saved automatically
- Bilingual interface — English and Simplified Chinese
Installation
Play directly in browser, or install via TINKER: download from https://tinker.liriliri.io/, then run npm i -g tinker-chess.
How to Play
- Choose local two-player mode or play against the computer, then select a difficulty.
- Click a piece to see its legal moves, then click a highlighted square to move.
- Use the arrow keys or WASD to move the cursor and confirm with Space or Enter.
- Drag the board to rotate the view, or use the right mouse button to pan.
- Press U to undo, R to restart, or Escape to open the menu. White moves first.