【文件属性】:
文件名称:Clue:Clue,Cluedo的python实现
文件大小:21KB
文件格式:ZIP
更新时间:2021-04-10 02:07:16
Python
线索
提示的Python实现
游戏设定
map
dimentions
x
x尺寸的大小。
最少: 10
最多: 40
y : y尺寸的大小。
y尺寸的大小。
最少: 10
最多: 40
tiles
用于游戏的图块地图
每个角色必须在simple tiles或game tiles最少引用一次,但不能同时引用两者
武器只能被引用一次
玩家只能被引用一次
秘密门必须被引用两次
simple tiles
是包含char和obj的对象的列表
对于simple tile ,每种类型的对象都必须具有引用
char
对象关联的字符
可以是simple tile使用的任何simple tile字符,而不是在simple tiles或game tiles再次使用
obj
必须是包含类型之一
类型:
none
tile
door
secret door
game tiles
【文件预览】:
Clue-main
----.readthedocs.yaml(199B)
----docs()
--------.nojekyll(0B)
--------conf.py(2KB)
--------make.bat(795B)
--------requirements.txt(75B)
--------Makefile(634B)
--------index.rst(477B)
----.github()
--------workflows()
----tests()
--------test_carddeck.py(171B)
--------test_player.py(171B)
--------test_playertoken.py(171B)
--------test_weapon.py(171B)
--------test_human.py(171B)
--------test_token.py(171B)
--------test_card.py(167B)
--------test_board.py(2KB)
--------test_solution.py(1KB)
--------test_room.py(171B)
--------test_ai.py(170B)
--------test_weapontoken.py(171B)
----src()
--------player.py(79B)
--------token.py(0B)
--------solution.py(1KB)
--------card.py(564B)
--------playercard.py(329B)
--------board.py(16KB)
--------weapontoken.py(67B)
--------playertoken.py(0B)
--------resources()
--------human.py(0B)
--------ai.py(0B)
--------weapon.py(143B)
--------carddeck.py(0B)
--------room.py(446B)
----requirements.txt(17B)
----setup.py(104B)
----.gitignore(2KB)
----README.md(2KB)