📦 Pygame demo
这个代码库的存在是为了提供一个 AI悦创·编程一对一教学而产生的库,这个库的作用是配套我未来将要出版的书籍中的代码示例,其实也就是游戏案例库。
0. Installation
MacOS
pip3 install PygameCase
Windows
pip install PygameCase
获取最新版
如果你换源了,请用下面的命令获取最新版本:
pip3 install PygameCase -i https://pypi.org/simple
pip install PygameCase -i https://pypi.org/simple
国内镜像源同步,比较缓慢,一般需要一天左右才会同步。
升级命令
pip3 install PygameCase --upgrade -i https://pypi.org/simple
1. All Game
| 序号 | 名称 | 简介 | 教程 |
|---|---|---|---|
| 01 | 足球弹动 | 足球碰到边缘就反弹 | Football |
2. 长期招收编程一对一学员
3. Demonstration
3.1 Football
1. 游戏体验
from PygameCase import FootBall, concise
football.run() # 完整代码运行
# concise.run() # 简洁代码运行
2. 游戏代码显示
from PygameCase import show_code
print(show_code("concise")) # 课上代码输出
# print(show_code("full")) # 完整代码输出
4. License
使用请留下版权信息,切勿删除!!!
Metadata
Release files for PygameCase 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PygameCase-0.0.9.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PygameCase-0.0.9-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 9.7 kB
Release files / PygameCase-0.0.9.tar.gz
| Download URL | PygameCase-0.0.9.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1b71f003a01d92faadf4c77cd493531cbd3eeda0344251425b6975f9bb49110
|
|
BLAKE2b-256 checksum How to use checksums |
20d551120d1f8a2047fc3eac31402dcb91e25974a18ca5d9dea2d4cc1d04461a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / PygameCase-0.0.9-py2.py3-none-any.whl
| Download URL | PygameCase-0.0.9-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a6986d1e7505226f77f0a35e88008eeb052766ae2cb54af252e14598e47f4c88
|
|
BLAKE2b-256 checksum How to use checksums |
e7f0fe2ebaf1856084341647533d82439bdc3dd03c20a2b2cc2e2219a913363d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|