How dumpling-cmd/sensorshub-quiz-game works
PF101 Knowledge Monitor is a browser-based Python knowledge quiz. Players choose a mode and difficulty, answer timed questions, and receive scored results; solo best scores persist on the device. The sampled code shows question selection, round timing, answer scoring, and result handling in one runtime file. The question bank identifies its data and difficulty/category fields. The README is empty, and the excerpts do not establish how the HTML shell loads the main script, so that connection is marked unverified.
Main entry points: script.js Quiz engine · index.html Page shell · questions.js Question bank
Components 5
Quiz app
- Quiz engine
script.js
Question content
- Question bank
questions.js
Browser interface
- Page shell
index.html
Other components
- Player
- Browser storage
Connections 6
- Player → Page shell: opens
- Page shell → Question bank: loads
questions.js - Page shell → Quiz engine: runs
- Quiz engine → Question bank: selects questions
script.js - Quiz engine → Browser storage: saves scores
script.js - Quiz engine → Player: shows results
script.js