魔獸模擬器的機器學習和數據挖掘:Hearthbreaker

jopen 10年前發布 | 20K 次閱讀 機器學習 Hearthbreaker

魔獸模擬器的機器學習和數據挖掘; 玩模擬游戲的結果可以用來確定哪些一起能很好的工作,哪些沒有卡牌.

用法

Hearthbreaker 兼容任何支持 Python 3.2+ 和 PyPy3 2.3+ 的操作系統。

Console Application

Console Screenshot

There is a basic console that you can use for playing against a bot. There are two bots to choose from: a random bot that plays completely randomly or a trading bot which tries to trade efficiently with your minions.

Start the console with python text_runner.py deck1.hsdeck deck2.hsdeck. The two deck files are in cockatrice format, with a card name in English on each line, preceded by a number to specify how many. For example:

2 Goldshire Footman
2 Murloc Raider
2 Bloodfen Raptor
2 Frostwolf Grunt
2 River Crocolisk
2 Ironfur Grizzly
2 Magma Rager
2 Silverback Patriarch
2 Chillwind Yeti
2 Oasis Snapjaw
2 Sen'jin Shieldmasta
2 Booty Bay Bodyguard
2 Fen Creeper
2 Boulderfist Ogre
2 War Golem

項目主頁:http://www.baiduhome.net/lib/view/home/1414741446653

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!