資源簡介
游戲實現了類似英雄無敵3 中戰斗場景的回合制玩法:
- 增加了六邊形地圖的實現
- 對戰雙方每個生物每一輪有一次行動機會,可以行走或攻擊對方。
- 每個生物屬性有:行走范圍,速度,生命,傷害,防御,和攻擊。
- 當把對方生物都消滅時,即勝利。
- 實現了簡單的AI。

代碼片段和文件信息
import?pygame?as?pg
from?source.main?import?main
if?__name__==‘__main__‘:
????main()
????pg.quit()
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-08-13?09:38??PythonStrategyRPG\
?????目錄???????????0??2019-08-13?13:39??PythonStrategyRPG\.git\
?????文件????????1307??2019-08-05?11:09??PythonStrategyRPG\.gitignore
?????文件?????????372??2019-08-13?11:37??PythonStrategyRPG\.git\config
?????文件??????????73??2019-08-05?11:09??PythonStrategyRPG\.git\desc
?????文件??????????23??2019-08-05?11:09??PythonStrategyRPG\.git\HEAD
?????目錄???????????0??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\
?????文件?????????478??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\applypatch-msg.sample
?????文件?????????896??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\commit-msg.sample
?????文件????????3327??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\fsmonitor-watchman.sample
?????文件?????????189??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\post-update.sample
?????文件?????????424??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\pre-applypatch.sample
?????文件????????1638??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\pre-commit.sample
?????文件????????1348??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\pre-push.sample
?????文件????????4898??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\pre-reba
?????文件?????????544??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\pre-receive.sample
?????文件????????1492??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\prepare-commit-msg.sample
?????文件????????3610??2019-08-05?11:09??PythonStrategyRPG\.git\hooks\update.sample
?????文件????????2995??2019-08-13?13:39??PythonStrategyRPG\.git\index
?????目錄???????????0??2019-08-05?11:09??PythonStrategyRPG\.git\info\
?????文件?????????240??2019-08-05?11:09??PythonStrategyRPG\.git\info\exclude
?????目錄???????????0??2019-08-05?11:09??PythonStrategyRPG\.git\logs\
?????文件?????????875??2019-08-13?11:37??PythonStrategyRPG\.git\logs\HEAD
?????目錄???????????0??2019-08-05?11:09??PythonStrategyRPG\.git\logs\refs\
?????目錄???????????0??2019-08-05?11:09??PythonStrategyRPG\.git\logs\refs\heads\
?????文件?????????875??2019-08-13?11:37??PythonStrategyRPG\.git\logs\refs\heads\master
?????目錄???????????0??2019-08-05?11:09??PythonStrategyRPG\.git\logs\refs\remotes\
?????目錄???????????0??2019-08-12?09:56??PythonStrategyRPG\.git\logs\refs\remotes\origin\
?????文件?????????198??2019-08-05?11:09??PythonStrategyRPG\.git\logs\refs\remotes\origin\HEAD
?????文件?????????604??2019-08-13?11:37??PythonStrategyRPG\.git\logs\refs\remotes\origin\master
?????目錄???????????0??2019-08-13?11:37??PythonStrategyRPG\.git\ob
............此處省略251個文件信息
- 上一篇:naive bayes代碼實現(python版)
- 下一篇:回聲狀態網絡源碼實現
評論
共有 條評論