salah15cl/ai-gaming-strategy-coach-chatbot
🎮 Enhance your gaming skills with an AI chatbot that delivers real-time strategies and coaching for 9+ popular competitive games.
What's novel
🎮 Enhance your gaming skills with an AI chatbot that delivers real-time strategies and coaching for 9+ popular competitive games.
Code Analysis
6 files read · 4 roundsA single-file Gradio chatbot that sends user messages to the GROQ LLM API (Llama 3.3 70B) with a system prompt assembled from hardcoded coaching-mode and game-context text blocks, then streams the response back to the user.
Strengths
The prompt templates are reasonably well-structured with distinct coaching personalities and game-specific context, and the streaming SSE parser handles edge cases like JSON decode errors and the [DONE] signal. The code is readable and functional for its narrow purpose.
Weaknesses
The entire 'AI' is a thin API wrapper with no real logic, no game data, no strategy computation, and no tests. The README is heavily misleading—claiming features like 'AI-Powered Coaching,' 'Multi-Game Support,' and referencing non-existent directories (/src, /docs), broken download links, and installation steps for .exe/.dmg files that don't exist. The emoji-prefix stripping logic is fragile and the chat history management has subtle bugs (passing chat_history[:-2] while the new message is alre
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
9
Contributors
2
Files
9
Active weeks
3
Repository
Language
Python
Stars
1
Forks
1
License
MIT