AI ENGINE
• Minimax search with alpha-beta pruning
• Custom evaluation: material + position + pawn structure
• Heavy center pawn bonus in first 12 moves (fixes knight-only opening)
• Knights de-prioritized early game
• Aggression multiplier for high-level bots (Fischer+)
TIMERS (White vs Orange)
• White timer starts on your turn
• Orange (Computer) timer starts instantly after you move
• Timer runs during real thinking time only
• No duplicate intervals, no overlapping timers
• Format: MM:SS (simple elapsed time)
THINKING TIME SYSTEM
• Base: depth × 750ms + 1.8s
• Magnus Mode: fixed 3 seconds
• Koblence: 3.5–8.5s (randomized)
• LIMIT THINKING button: hard cap at 10 seconds
SPECIAL MODES
• Magnus Mode → deeper search (depth 5) + faster but visible thinking
• Limit Thinking → forces computer to move in ≤10s
• Compact Mode → smaller board for mobile
OTHER FEATURES
• Full chess.js engine (legal moves, checkmate, draw detection)
• Undo, Flip board, Resign
• Captured pieces display
• 12 unique personalities with different aggression/depth
• Real-time status + check notification