LLMGameHub / src /game_state.py
gsavin's picture
A new start
86b351a
raw
history blame
356 Bytes
story = {
"start": {
"text": "You wake up in a mysterious forest. What do you do?",
"image": "forest.jpg",
"choices": ["Explore", "Wait"],
"music_tone": "neutral",
},
}
state = {"scene": "start"}
def get_current_scene():
scene = story[state["scene"]]
return scene["text"], scene["image"], scene["choices"]