import streamlit as st
from streamlit.components.v1 import html
# Define the HTML content with the Three.js game
game_html = """
Galaxxon - Three.js Arcade Game
"""
# Streamlit app
st.title("Galaxxon - A Three.js Arcade Game")
st.write("Use WASD or Arrow Keys to move, Spacebar to shoot. Destroy red enemies and avoid gray obstacles!")
# Render the HTML game
html(game_html, height=600, scrolling=False)
st.write("Note: The game runs in your browser. Ensure you have an internet connection for Three.js to load.")