MCPcopy Index your code
hub / github.com/TomJohnH/streamlit-dungeon

github.com/TomJohnH/streamlit-dungeon @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
36 symbols 75 edges 4 files 23 documented · 64%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Streamlit Dungeon Crawler

Explore the depths of an ancient dungeon in the first streamlit-based dungeon crawler game! Navigate through dangerous traps, defeat fearsome monsters and uncover the secrets of the DuNgeOn. With intuitive controls and beautiful graphics, this game will keep you entertained for hours. Experience the thrill of adventure as you progress through levels and uncover powerful treasures. Join the adventure today and become the hero of the dungeon!

Technical side

Streamlit recalculates whole app in response to user input. This feature can be used to create interactive applications, such as a dungeon crawler game, where the user interacts with the page and the page updates in real-time to reflect the changes.

dungeon.streamlit.app

Change log:

11.05.2023 - working on procedurally generated levels

27.04.2023 - major refactor in progress

24.04.2023 - Level2 beta-tests are now live

14.04.2023 - Updated to streamlit 1.21.0

12.03.2023 - additional developer options available: god mode and fly mode. God mode gives the player 999 hp, fly mode ignores walls

09.03.2023 - added aggressive monsters - monsters are pursuing the player - refactored almost whole code

18.02.2023 - ongoing modularization and code refactoring

01.02.2023 - added intro audio - now you can gather gold

31.01.2023 - new enemy added - mimic

29.01.2023 - added intro screen - added damage mechanics

28.01.2023 - completely new engine - WIP

Core symbols most depended-on inside this repo

character_can_move
called by 5
game_def.py
squared_distance
called by 5
game_def.py
move_callback
called by 4
streamlit_app.py
create_text_bubble_html
called by 3
game_def.py
random_move
called by 2
game_def.py
distance_from_player
called by 1
game_def.py
get_move_index
called by 1
game_def.py
move_object
called by 1
game_def.py

Shape

Function 29
Method 4
Class 3

Languages

Python100%

Modules by API surface

game_def.py21 symbols
streamlit_app.py15 symbols

For agents

$ claude mcp add streamlit-dungeon \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact