Text based adventure game on streamlit

Hey everybody !
I just discovered streamlit today and i am exploring it more every minute.i wanted to ask is it possible to create a text based adventure game on streamlit , thank you.

1 Like

@GlassEyes short answer: yes, it is possible :slight_smile:

2 Likes

Yes, it’s definitely possible to build a simple text adventure game with Streamlit. I’ve seen a few projects where people use st.text_input and session state to control the story and player choices.

It actually reminds me of those old text-style missions in GTA San Andreas Mod Apk where the story progresses based on what you do next. Streamlit could be a fun way to prototype something like that.