Deepest Dungeon is a tutorial site that teaches Year 9/10 students object-oriented programming in Python by building a text adventure game in Thonny, one stage at a time. It's also a resource for the teachers running the course.
Live site: Deepest Dungeon - Python OOP
The site is built with Zensical.
pip install -r requirements.txt
zensical serveTo produce the static build (used by the deploy workflow):
zensical build --cleanEach stage's checkpoint files are bundled into a downloadable zip for students:
python scripts/make_zip.pyEvery "Code explanation" callout references line numbers in a snippet. This script confirms they still match:
python scripts/check_explanations.pydocs/index.md- home pagedocs/start/- teacher and student introductions, and an OOP primerdocs/stages/stage_1.mdtostage_8.md- the eight tutorial stagesdocs/extensions/- the Player class, Character LLM and extension ideasdocs/guides/- developing a new program, debugging with Thonny, and licencingdocs/examples/<section>/stepNN/<file>.py- snippet files for each step. A step folder holds only the files that changed in that step. Pages include snippets with--8<-- "examples/..."(pymdownx.snippets), withhl_linesmarking new or changed linesdocs/downloads/- the student zip, built byscripts/make_zip.pydocs/stylesheets/extra.css- the site's colour schemescripts/-make_zip.pyandcheck_explanations.pyzensical.toml- site configuration
Code is licensed under GPLv3. Content (the tutorial text and images) is licensed under CC BY-NC-SA 4.0.