A Tamagotchi that only survives if you honestly solve one LeetCode problem a day.
cd leetgotchi
pip install -r requirements.txt
export Gemini_API_KEY=your_key_here # get free at Gemini AI API
python app.pyThen open http://localhost:5000
- Open the app — see your pet's status
- Click "Start Today's Problem"
- Enter the LeetCode problem title + link
- Hit START — timer begins
- Fill in all 5 sections (explain, approach, solution, complexity, reflection)
- After 30 minutes, submit for AI judgment
- Gemini evaluates your honesty and asks a follow-up question
- Score ≥ 60 → pet survives and gains health
- Score < 60 → pet loses health
- Miss a day → pet gets sick
- Timer must run (can't fake it)
- All text fields have minimum length requirements
- Gemini AI evaluates if explanations show real understanding
- Follow-up question probes your actual knowledge
- Suspicious score tracked per session
egg → baby (1 day) → teen (3 days) → adult (7 days) → dragon (14 days) → legend (30 days)
- Flask + SQLite (backend)
- Vanilla HTML/CSS/JS (frontend)
- Gemini AI API (AI honesty evaluation)
- Pixel art UI with retro CRT aesthetic