import streamlit as st import time from chatbot import render_chatbot st.set_page_config(page_title="Stick Cricket Showdown", page_icon="🏏", layout="wide") st.subheader("Welcome to the ultimate cricket arcade") theme = st.selectbox("Choose Theme", ["🌞 Light", "🌙 Dark"], index=0) light_mode = theme == "🌞 Light" st.markdown(f""" """, unsafe_allow_html=True) with st.container(): st.markdown("
", unsafe_allow_html=True) st.markdown("

🏏 Stick Cricket Showdown

", unsafe_allow_html=True) st.markdown("

Mini arcade-style cricket game built in Streamlit

", unsafe_allow_html=True) with st.spinner("Preparing your cricket kit..."): time.sleep(1) st.success("You're ready to go!") col1, col2 = st.columns([2, 1]) with col1: st.markdown(""" ### 🚀 How to Play: - 👤 Create your player profile - ⚙️ Set up match: overs, wickets, AI level - 🏏 Bat smart: choose shots, avoid outs - 🎯 Bowl tactically: aim for wickets - 📊 Check Scorecard for match results """) with col2: st.image("https://upload.wikimedia.org/wikipedia/en/f/f7/Stick_Cricket_Classic_Logo.png", width=220) st.markdown("👉 Use the sidebar to move between game stages.") st.balloons() st.markdown("", unsafe_allow_html=True) st.markdown("
", unsafe_allow_html=True) render_chatbot("Stick Cricket Showdown")