Mrtiger007/Chess-game
0
♟️ Chess Game with Adaptive AI
An interactive chess game with three AI difficulty levels, created by Akhilesh Kumar Tiwari. Play against a computer opponent that adapts to your skill level.
🌟 Features
AI Difficulty Levels
- Easy: Perfect for beginners (makes occasional mistakes)
- Medium: Balanced challenge (uses basic strategies)
- Hard: Advanced opponent (minimax algorithm with alpha-beta pruning)
Game Features
- Standard chess rules enforcement
- Real-time board visualization
- Move validation with helpful hints
- Computer thinking time display
- Responsive web interface
🚀 How to Play
- Select your difficulty level
- Enter moves in algebraic notation (e.g., e4, Nf3, O-O)
- Press Enter or click "Make Move"
- Computer responds automatically
- Use "New Game" to reset anytime
Quick Move Reference
🛠️ Technical Details
AI Implementation
- Easy: Random moves with occasional blunders
- Medium: Piece-value evaluation with simple tactics
- Hard: Minimax algorithm (depth=2) with alpha-beta pruning
Requirements
- Python 3.9+
gradiofor the web interfacepython-chessfor game logicstockfishrecommended for optimal hard-level play
📦 Deployment
This space is deployed using:
- Gradio SDK v5.35.0
- Docker container with Stockfish support
- Custom chess AI implementation
👨💻 About the Creator
Akhilesh Kumar Tiwari Chess enthusiast and AI developer GitHub Profile Contact: akhilesh.tiwari@example.com
📜 License
MIT License - Free to use and modify
