How ai-platon/krokodil works
Krokodil is a browser-based AI charades game, also documented as running inside an Android WebView. The main workflow is to choose a topic and difficulty, generate words through Groq, then use them for solo play or a timed team game. The README also documents generation history, per-topic leaderboards, and local API-key storage. The file tree contains only index.html, while the README describes the app as krokodil.html; with no source excerpts, implementation details are mapped only to the available HTML path and relationships are limited to those documented.
Main entry points: index.html Word generation
Components 13
Game experience
- Game interface
index.html - Solo word list
index.html - Team game
index.html - Turns and timer
index.html - Team results
index.html
Word generation
- Topic and difficulty
index.html - Word generation
index.html
Local records
- Generation history
index.html - Topic leaderboard
index.html - API key memory
index.html
Other components
- Player
- Groq API
- Browser localStorage
Connections 17
- Player → Game interface: uses
README.md - Game interface → Topic and difficulty: sets options
README.md - Game interface → Word generation: requests words
README.md - Topic and difficulty → Word generation: configures
README.md - Word generation → Groq API: requests generation
README.md - Groq API → Word generation: returns words
README.md - Word generation → Solo word list: provides list
README.md - Player → Team game: sets up players
README.md - Team game → Topic and difficulty: chooses settings
README.md - Team game → Turns and timer: runs turns
README.md - Turns and timer → Team results: completes rounds
README.md - Word generation → Generation history: saves word sets
README.md - Generation history → Browser localStorage: stores locally
README.md - Team results → Topic leaderboard: records rankings
README.md - Topic leaderboard → Browser localStorage: stores locally
README.md - Player → API key memory: enters key
README.md - API key memory → Browser localStorage: saves key
README.md