魔兽模拟器的机器学习和数据挖掘:Hearthbreaker
jopen
10年前
魔兽模拟器的机器学习和数据挖掘; 玩模拟游戏的结果可以用来确定哪些一起能很好的工作,哪些没有卡牌.
用法
Hearthbreaker 兼容任何支持 Python 3.2+ 和 PyPy3 2.3+ 的操作系统。
Console Application
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