Game Controls
Create Room: Start a new game room
Join Random Room: Join an available game
Withdraw: Leave room before game starts
Resign: Surrender during active game
Offer Draw: Propose a draw to opponent
How to Play
1. Select a piece by clicking on it
2. Valid moves show as green circles
3. Capture moves show with red borders
4. Click destination to move piece
5. Check occurs when king is threatened
6. Checkmate ends the game
Piece Movements
Pawn (♙♟): Move forward, capture diagonally
Rook (♖♜): Move horizontally/vertically
Knight (♘♞): Move in L-shape (jumps)
Bishop (♗♝): Move diagonally
Queen (♕♛): Move any direction
King (♔♚): Move one square any direction
Winning Conditions
• Checkmate: Opponent's king is threatened with no escape
• Resignation: Opponent surrenders
• Timeout: Opponent runs out of time
• Draw Offer: Both players agree to draw
Draw Conditions
• Stalemate: Player to move has no legal moves but king is not in check
• Insufficient Material: Neither player has enough pieces to checkmate
• Threefold Repetition: Same position occurs three times
• 50-Move Rule: 50 moves without capture or pawn move
• Mutual Agreement: Both players accept draw offer
Timer Rules
• Each player has 5 minutes initially
• Timer counts down only during your turn
• Running out of time results in automatic loss
• Game pauses when players are disconnected