Skip to content
This repository was archived by the owner on May 19, 2022. It is now read-only.

Commit 184d1b8

Browse files
修错别字和增加不用pipenv的说明
1 parent f54bcac commit 184d1b8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
11
# snake
22
## 简介
3-
贪吃蛇,基于python3-pygame,源代码开放在[Gitte仓库](https://gitee.com/back-toy/snake)
3+
贪吃蛇,基于python3-pygame,源代码开放在[Gitee仓库](https://gitee.com/back-toy/snake)
44
### 开发环境
55
- Visual Studio Code 1.51.0
66
- python 3.x x64
77
### 使用说明
88
如果Release有程序包直接下载即可,在其它地方下载的与我无瓜。
99
自行编译的话可以参考下面的代码
10+
#### 使用虚拟环境pipenv
1011
```bash
1112
git clone [email protected]:back-toy/snake.git
1213
cd snake
14+
pip install pipenv # pip3 install pipenv
1315
pipenv install
1416
pipenv shell
1517
pipenv run python main.py
18+
exit
19+
```
20+
#### 不使用虚拟环境
21+
默认python指向python3,如果默认指向2的话,就把下面的pip改成pip3,python改成python3
22+
```bash
23+
git clone [email protected]:back-toy/snake.git
24+
cd snake
25+
pip install pygame pygame_menu
26+
python main.py
1627
```
1728
## 程序结构
1829
###

0 commit comments

Comments
 (0)