# 贪吃蛇 **Repository Path**: kilito02/snake ## Basic Information - **Project Name**: 贪吃蛇 - **Description**: windows端简单的贪吃蛇游戏 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-05-19 - **Last Updated**: 2026-05-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Snake Game A desktop Snake game built with Python `tkinter`. ## Run ```bash python main.py ``` ## Features - Start menu with three levels: Easy, Hard, Nightmare - Game instructions screen - Start, pause, restart, and return-to-menu support - Local high score saving ## Controls - Arrow keys / `WASD`: move - `Space`: pause / resume - `R`: restart - `M`: back to menu - `Esc`: exit from menu, or return to menu from other screens ## Build EXE Install dependencies first: ```bash python -m pip install -r requirements.txt ``` Then run: ```bash python build_exe.py ``` The executable will be created at `dist/SnakeGame.exe`. ## Files - `main.py`: game entry point - `build_exe.py`: Windows packaging script - `requirements.txt`: packaging dependency list - `snake_game_design.md`: design document