Codenames:棋盘游戏,代号,但在线!

时间:2021-05-15 21:16:48
【文件属性】:
文件名称:Codenames:棋盘游戏,代号,但在线!
文件大小:426KB
文件格式:ZIP
更新时间:2021-05-15 21:16:48
Python 代号 棋盘游戏,代号,但在线! 开发设置 克隆此仓库。 安装virtualenv与pip install virtualenv 。 转到您的父目录并运行virtualenv Codenames 现在,每次您要处理项目时,请转到项目目录并运行source bin/activate 。 使用pip install -r requirements.txt安装所有pip install -r requirements.txt 。 确保冻结您添加在requirements.txt任何其他requirements.txt 。 执行 运行python app.py以在端口5000上启动Flask服务器。 要启用调试和热重载,请运行FLASK_DEBUG=1 python app.py 访问http://localhost:5000以查看路由列表 托多斯 完成基本的游戏课程和逻辑 创建用
【文件预览】:
Codenames-master
----constants.py(339B)
----error_handling.py(308B)
----app.py(2KB)
----game_manager.py(4KB)
----client_manager.py(12KB)
----word_source.py(4KB)
----player.py(2KB)
----utils.py(2KB)
----templates()
--------lobby.html(8KB)
--------join.html(368B)
--------404.html(125B)
--------game.html(6KB)
--------base.html(5KB)
--------rejoin.html(474B)
--------home.html(394B)
--------how_to_play.html(84B)
--------create.html(1KB)
--------header.html(562B)
----game.py(10KB)
----game_handlers.py(4KB)
----card.py(1KB)
----resources()
--------config.json(431B)
--------words.txt(2KB)
----client.py(3KB)
----static()
--------css()
--------img()
--------js()
----turn_manager.py(1KB)
----map_card.py(3KB)
----lobby_handlers.py(4KB)
----game_code.py(1KB)
----requirements.txt(216B)
----.gitignore(221B)
----game_store.py(4KB)
----display_manager.py(99B)
----config.py(3KB)
----create_handlers.py(616B)
----README.md(955B)

网友评论