python 战棋游戏代码实现

上传者: marble_xu | 上传时间: 2021-04-02 13:57:34 | 文件大小: 40KB | 文件类型: ZIP
游戏实现了类似英雄无敌3 中战斗场景的回合制玩法: - 对战双方每个生物每一轮有一次行动机会,可以行走或攻击对方。 - 每个生物属性有:行走范围,速度,生命,伤害,防御,和攻击。 - 当把对方生物都消灭时,即胜利。 - 实现了简单的AI。

文件下载

资源详情

[{"title":"( 23 个子文件 40KB ) python 战棋游戏代码实现","children":[{"title":"PythonStrategyRPG-master","children":[{"title":".gitignore <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"resources","children":[{"title":"graphics","children":[{"title":"devil.png <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"magician.png <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false},{"title":"tile.png <span style='color:#111;'> 11.69KB </span>","children":null,"spread":false},{"title":"fireball.png <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"footman.png <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"mouse.png <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"source","children":[{"title":"component","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"map.py <span style='color:#111;'> 7.04KB </span>","children":null,"spread":false},{"title":"entity.py <span style='color:#111;'> 8.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"map","children":[{"title":"level_1.json <span style='color:#111;'> 436B </span>","children":null,"spread":false},{"title":"level_3.json <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"level_2.json <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":true},{"title":"entity.json <span style='color:#111;'> 493B </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"constants.py <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"state","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"level.py <span style='color:#111;'> 3.77KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.py <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"gameAI.py <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false},{"title":"AStarSearch.py <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false},{"title":"tool.py <span style='color:#111;'> 3.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.py <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明