Chess Game
Description
This is a fully interactive chess game built with modern web technologies. It offers both single-player mode against an AI opponent and two-player mode for playing with a friend. The game features a clean, intuitive interface with realistic chess piece movement, capture mechanics, and game state management.
Features
-
Multiple Game Modes
- Play against AI with adjustable difficulty levels
- Two-player mode for playing with a friend
-
Adjustable AI Difficulty
- Easy – AI makes random moves
- Medium – AI occasionally captures pieces when possible
- Hard – AI prioritizes capturing higher-value pieces
-
Player Customization
- Enter player names for personalized experience
- Player names displayed during gameplay
-
Game Mechanics
- Proper chess piece movement and capturing
- Turn-based gameplay with player indication
- Visual highlights for selected pieces and valid moves
- Checkmate and stalemate detection
-
Game Management
- New Game button to restart at any time
- Undo functionality to reverse moves
- Captured pieces tracking with visual display
-
User Interface
- Clean, modern design with intuitive controls
- Responsive layout that works on desktop and mobile devices
- Visual indicators for game status and current player
- Attractive chess board with Unicode character pieces
-
Accessibility Features
- Clear visual distinction between light and dark squares
- Highlighted selected pieces and valid move indicators
- Text-based game status updates
