CATUR GAME
### 🎮 Game Modes
- **Solo (Vs AI)** — Challenge the computer with 5 intelligence levels: Easy, Medium, Hard, Expert, and Master.
- **Local (2 Players)** — Play on the same device with a friend.
- **Split Screen** — Split screen for two players on the same device.
- **Co-Op** — Team play against the AI with chat features.
- **Online** — Remote multiplayer via WebSocket / WebRTC with lobby room code, ping/latency, and reconnection system.
### 🧠 Intelligent AI & Complete FIDE Rules
- Complete chess engine: en passant, promotion, castling, check/checkmate, stalemate, threefold repetition, 50-move rule, insufficient material, draw, resign, undo & redo.
- AI Minimax + Alpha-Beta pruning, transposition table, opening book, and endgame heuristics. The AI never makes illegal moves.
### ✨ Modern Visuals & Audio
- Glow, bloom, particle, confetti, fireworks, screen flash, and camera shake effects.
- Smooth pawn animations with a target 60 FPS.
- Sound via audio file or automatic WebAudio synthesis (when assets are not available).
- Pawns display PNG images or fallback Unicode chess emojis.
### ⏱️ Other Features
- **Timer**: Blitz / Rapid / Unlimited + increment & delay.
- Themes: 7 board themes and 7 piece themes (Classic, Wood, Marble, Neon, Sci-Fi, etc.).
- Automatic save/load to local storage (FEN, history, timer, statistics).
- Statistics: win/lose/draw, win rate, accuracy, move count.
- Export/import PGN & FEN (copy to clipboard).
- Controls: touch, mouse, keyboard, and gamepad.
- Languages: Indonesian & English.
- Runs offline — no internet connection required for Solo/Local mode.
### 🚀 Performance
Optimized with object pool, sprite cache, and requestAnimationFrame for a responsive and memory-efficient gaming experience across Android devices.

