首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > pyzmachine

pyzmachine

  • 资源大小:22.42 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

PYZ is a Z-Machine interpreter written in Python 3 for playing text adventure games by Infocom and others. Currently PYZ supports only Version 3 of the Z-machine, and does not support the SAVE or RESTORE instructions. However, it does play Zork I. It also has a mode where you can see the instructions being executed. The --trace option turns this on when you run PYZ. You can run it in text mode using pyz.py, or in GUI mode using pyz_gui.py. To use the GUI, you must have QT installed, as well as PyQt4. There is also a test suite, pyztest, which tests all the instructions. I learned Python in 7 days using Mark Lutz"s Learning Python (3rd edition), then wrote this in another 7 days. So if you look at the code, you"ll see hopefully some that is Pythonic, but some that is

文 件 列 表

pyz.py
pyz_gui.py
pyztest.py
VIP VIP
0.189152s