【文件属性】:
文件名称:Tetris:Python 中的俄罗斯方块游戏
文件大小:27KB
文件格式:ZIP
更新时间:2021-07-04 22:51:22
Python
俄罗斯方块
俄罗斯方块用 Python 编写,使用 PyGame 1.9.2a0。
需要 Python2 和 pygame 库(Ubuntu 类型的人可以使用sudo apt-get install python-pygame安装它)。 还需要 Python Imaging Library (PIL),版本 1.1.6.+
使用./run运行游戏, ./run是一个启动tetris.py的 shell 脚本。
文档。
【文件预览】:
Tetris-master
----.gitignore(6B)
----all()
--------tetris.py(17KB)
--------makecanvas.py(640B)
--------Grid.PNG(2KB)
--------tscore.py(1KB)
--------blocks.py(2KB)
--------BebasNeue.ttf(52KB)
--------gameproperties.py(293B)
----README.md(383B)
----run.sh(273B)