feat: 添加贪吃蛇游戏- 新增贪吃蛇游戏的 Python 代码

- 添加用于安装 freegames 库的说明到 README.md
- 创建多个 .idea配置文件以设置 IDE 项目环境
- 配置 .gitignore 文件以忽略不必要的 IDE 文件
This commit is contained in:
sairate 2025-06-07 14:25:40 +08:00
parent 51fdda69f7
commit 3c54bf5f4c
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
## 环境的安装
```bash ```bash
pip install -i https://mirrors.aliyun.com/pypi/simple/ freegames pip install -i https://mirrors.aliyun.com/pypi/simple/ freegames pyinstaller
```
##
```bash
pyinstaller --onefile --noconsole snake.py
``` ```

View File