File size: 1,419 Bytes
407d021
 
 
 
 
 
 
3342486
 
 
 
407d021
3342486
 
 
 
 
 
407d021
3342486
 
407d021
3342486
 
407d021
3342486
 
 
407d021
3342486
 
 
407d021
3342486
 
407d021
3342486
 
 
407d021
3342486
 
 
407d021
3342486
 
 
407d021
3342486
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import streamlit as st
import numpy as np
import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
from plotly.subplots import make_subplots
import time
from dataclasses import dataclass
from typing import Dict, List, Tuple, Optional, Callable
import warnings
warnings.filterwarnings('ignore')

# Basit test için önce bu kısa versiyonu deneyin
st.set_page_config(
    page_title="Ortaçağ Feodal Düzeni Simülasyonu",
    page_icon="🏰",
    layout="wide"
)

st.title("🏰 Ortaçağ Feodal Düzeni Mean-Field Oyun Simülasyonu")
st.markdown("---")

# Basit test
st.write("Uygulama başarıyla yüklendi!")

# Yan panel
with st.sidebar:
    st.header("Model Parametreleri")
    
    vergi_orani = st.slider("Vergi Oranı (%)", 0, 100, 30)
    corvee_gun = st.slider("Corvée Günleri (Haftalık)", 0, 7, 3)
    guvenlik_harcama = st.slider("Güvenlik Harcaması", 0.0, 5.0, 1.5)

# Ana içerik
col1, col2 = st.columns(2)

with col1:
    st.metric("Vergi Oranı", f"%{vergi_orani}")
    st.metric("Corvée Günleri", f"{corvee_gun} gün/hafta")

with col2:
    st.metric("Güvenlik Harcaması", f"{guvenlik_harcama}")
    st.metric("Simülasyon Durumu", "Hazır")

if st.button("Simülasyonu Başlat", type="primary"):
    st.success("Simülasyon başlatıldı!")
    st.balloons()

st.info("Bu basit bir test versiyonudur. Tam kod yüklendikten sonra tüm özellikler aktif olacaktır.")