import streamlit as st # 设置页面配置 st.set_page_config( page_title="AI 3603 Gomoku Project", page_icon="👋", layout="wide", initial_sidebar_state="collapsed" ) # 大标题 st.write('

AI 3603 Gomoku Project 👋

', unsafe_allow_html=True) # 项目参与者 st.write('

Jiaxin Li \ Junzhe Shen \ Benhao Huang

', unsafe_allow_html=True) # 标签 st.markdown("""
📄 Report 💻 Code 🌐 Space 📊 PPT


""", unsafe_allow_html=True) # 项目介绍 st.markdown("""
Gomoku is an abstract strategy board game. Also called Gobang or Five in a Row, it is traditionally played with Go pieces (black and white stones) on a Go board. It is straightforward and fun, but also full of strategy and challenge. Our project is aiming to apply Machine Learning techniques to build a powerful Gomoku AI.
""", unsafe_allow_html=True) # 创新点和图片展示 st.write("

Innovations We Made 👍

", unsafe_allow_html=True) col1, col2, col3 = st.columns(3) with col1: st.image("assets/favicon_circle.png", width=50) # 替换为你的图片 URL st.caption("Innovation 1") with col2: st.image("assets/favicon_circle.png", width=50) # 替换为你的图片 URL st.caption("Innovation 2") with col3: st.image("assets/favicon_circle.png", width=50) # 替换为你的图片 URL st.caption("Innovation 3") # 代码框架阐述和代码组件 st.write("

Code Structure 🛠️

", unsafe_allow_html=True) st.code(""" import os import streamlit as st def main(): # your code here if __name__ == "__main__": main() """, language="python") st.markdown("---")