File size: 992 Bytes
226aab2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import streamlit as st

# App Title
st.title("StoryForge")

# App Description
st.write("StoryForge helps game developers generate comprehensive Game Design Documents. Input details about your game environment, protagonist, and antagonist to create a structured design document.")

# Sidebar Inputs
with st.sidebar:
    st.header("Game Details")
    game_environment = st.text_input("Game Environment", "Describe the setting of your game")
    protagonist = st.text_input("Protagonist", "Describe the main character")
    antagonist = st.text_input("Antagonist", "Describe the main villain or opposing force")

# Layout with two columns
col1, col2 = st.columns(2)

with col1:
    st.header("Game Environment")
    st.write(game_environment)

with col2:
    st.header("Game Story")
    st.write("Your game story will be generated based on the inputs provided.")

with col1:
    st.header("Protagonist")
    st.write(protagonist)

with col2:
    st.header("Antagonist")
    st.write(antagonist)