Chess Tutor AI
š A Multi-Page Chess Tutor AI Powered by DeepSeek-R1-LLaMA-70B, Stockfish, and Streamlit
š Overview
Chess Tutor AI is an interactive and intelligent chess tutor designed to help users improve their chess skills. It leverages DeepSeek-R1-LLaMA-70B for advanced reasoning, the Groq API for processing, and the Stockfish API for best move evaluation. The project is built using Streamlit, providing a seamless and engaging web interface.
š Features
1ļøā£ Chess Bot
- š Best Move Analysis: Provides the best move along with an in-depth explanation when given an FEN string.
- š Opening Theory: Offers insights into chess openings, including their pros, cons, and major variations.
- š Strategic Insights: Explains why a move is optimal and suggests alternative approaches.
2ļøā£ Chess Puzzles
- š Difficulty Levels: Puzzles categorized into Easy, Medium, and Hard, selected at random.
- š Interactive UI: Buttons for Get Hint, Submit Move, and Next Puzzle.
- š Board Visualization: Implemented using SVG images for clarity and better understanding.
3ļøā£ Human vs. AI Mode
- š Adjustable AI Strength: Modify Stockfish depth to customize difficulty.
- š AI Move Automation: The AI automatically responds to each human move.
- š Move Assessment: Detailed breakdown in a three-column layout:
- AI Move Explanation š§
- User Move Evaluation š
- Best Possible Continuation āļø
š ļø Technologies Used
- DeepSeek-R1-LLaMA-70B - For chess reasoning and explanations
- Groq API - For AI model inference
- Stockfish API - For move evaluation and analysis
- Streamlit - For building the interactive web UI
- SVG Rendering - For board visualization
š Installation & Setup
-
Clone the Repository
git clone https://github.com/adityaamehra/Chess-Tutor.git cd Chess-Tutor -
Install Dependencies
pip install -r requirements.txt -
Run the Application
streamlit run main.py
š¤ Contributions
Contributions are welcome! Feel free to open issues and submit pull requests.
š License
This project is licensed under the MIT License.
šÆ Level up your chess skills with AI-powered insights! š