import gradio as gr
# ----------------- SNAKE GAME HTML + JS ----------------- #
snake_game_html = """
Use Arrow Keys to move the snake. Eat the red squares!
"""
# ----------------- GRADIO UI ----------------- #
with gr.Blocks() as demo:
gr.Markdown("## 🐍 Snake Game")
gr.Markdown("Control the snake with arrow keys and eat the red apples to grow!")
gr.HTML(snake_game_html)
demo.launch()