How devabm/aws-service-detective works
AWS Service Detective is a browser-based AWS-service guessing game, with daily mysteries generated by a scheduled Lambda. Players use progressively revealing clues to identify a service and earn points; the documented app also supports difficulty levels, adaptive mystery difficulty, and a leaderboard. The graph includes the browser game, mystery-generation workflow, result recording, and score APIs. The HTML and deployment wiring were not excerpted, so browser-to-backend links are shown only where documented or marked unverified.
Main entry points: lambda_function.py Mystery Generator · aws-service-detective.html Game Interface · scoreboard.py Score and Leaderboard API · record_result.py Result Recorder
Components 18
Detective Game
- Game Interface
aws-service-detective.html - Clue Gameplay
aws-service-detective.html
Mystery Agent
- Daily Scheduler
- Mystery Generator
lambda_function.py - Service Selection
lambda_function.py - Clue Generation
lambda_function.py - Clue Validation
lambda_function.py - Difficulty Adaptation
lambda_function.py
Results and Scoring
- Result Recorder
record_result.py - Score and Leaderboard API
scoreboard.py
AWS Services
- Challenge Data
- Challenge History
- Performance Data
- Score Table
- Amazon Bedrock
- Amazon S3
- Amazon DynamoDB
Other components
- Player
Connections 17
- Player → Game Interface: plays
README.md - Game Interface → Clue Gameplay: presents clues
README.md - Daily Scheduler → Mystery Generator: triggers
lambda_function.py - Mystery Generator → Challenge History: loads and saves
lambda_function.py - Mystery Generator → Performance Data: loads
lambda_function.py - Mystery Generator → Difficulty Adaptation: chooses tier
lambda_function.py - Mystery Generator → Service Selection: chooses service
lambda_function.py - Mystery Generator → Clue Generation: requests clues
lambda_function.py - Clue Generation → Amazon Bedrock: invokes model
lambda_function.py - Mystery Generator → Clue Validation: validates clues
lambda_function.py - Mystery Generator → Challenge Data: saves challenge
lambda_function.py - Mystery Generator → Amazon S3: reads and writes
lambda_function.py - Game Interface → Result Recorder: posts outcome
record_result.py - Result Recorder → Performance Data: reads and writes
record_result.py - Game Interface → Score and Leaderboard API: submits score
scoreboard.py - Score and Leaderboard API → Score Table: reads and writes
scoreboard.py - Score and Leaderboard API → Amazon DynamoDB: queries table
scoreboard.py