Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
A Hearthstone: Heroes of WarCraft Simulator for the purposes of Machine Learning and Data Mining
| Date | Stars |
|---|---|
| 2026-07-31 | 512 |
| 2026-08-02 | 512 |
| 2026-08-06 | 512 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
Hearthbreaker
=============
A Hearthstone Simulator
-----------------------
**Hearthbreaker is no longer under active development. If you're interested in Hearthstone Simulation, check out the projects
at [https://hearthsim.info/](https://hearthsim.info/)**
Hearthbreaker is an open source Hearthstone simulator for the purposes of machine learning and
data mining of Blizzard's [Hearthstone: Heroes of WarCraft](http://battle.net/hearthstone). It implements every
card in the game. Every attempts has been made to mimic Hearthstone precisely, including edge cases and bugs.
The results of playing simulated games can be used to determine cards which work well together and cards which do not.
Hearthbreaker is not designed to allow player to play Hearthstone against each other, nor is it designed to play against
human opponents within Hearthstone itself. It is designed to be used as a library for analysis.
* Documentation (In Progress) [http://danielyule.github.io/hearthbreaker/](http://danielyule.github.io/hearthbreaker/)
* Travis CI Build Status: [](https://travis-ci.org/danielyule/hearthbreaker)
* Coveralls Code Coverage: [](https://coveralls.io/r/danielyule/hearthbreaker?branch=master)
* Developer Mailing List: [Google Group](https://groups.google.com/forum/#!forum/hearthstone-simulator-dev)
Usage
-----
Hearthbreaker is compatible with [Python](https://www.python.org/) 3.2+ and [PyPy3](http://pypy.org/) 2.3+ on any
operating system that supports them.
### 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
The character class is inferred from the cards present, or defaults to mage.
The console application requires ncurses, which should be included with python on *nix and mac systems, but if you are
on windows, you must download it from
[http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses](http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses)
*Note:* Curses is not available for PyPy
### Unit Tests
The tests are located in the [`tests`](tests) package.
All tests can be run with the following command: `python -m unittest discover -s tests -p *_tests.py`
For Python 3.2 and PyPy3, the unit tests are dependent on the [mock package](https://pypi.python.org/pypi/mock).
Progress
--------
All Collectible cards up to The Grand Tournament have been implemented. There is no plan to expand on the list
of cards beyond that.
The engine is complete, and can be used to simulate games. The game state can be copied, or serialized to JSON.
Replay functionality is included as well. Furthermore, minions and weapons can be expressed either in python or
via a JSON declaration.
For an overview of upcoming work, see [the wiki](https://github.com/danielyule/hearthbreaker/wiki/)
Structure
---------
Almost all of the game logic is found in [hearthbreaker.game_objects](hearthbreker/game_objects.py). The game functions
largely on a tag based system. See [the wiki](https://github.com/danielyule/hearthbreaker/wiki/Tag-Format) for more
detailsExcerpt of 7,469 characters
Read on GitHub663
185
5
4
3
3
2
2
1
1
Santiago Castro · @Netflix · United States
1
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:4781447ceee1f557, llm:Description: 'A Hearthstone: Heroes of WarCraft Simulator for the purposes of Machine Learning and Data Mining' (repository description). Language: Python.
matched fp:4781447ceee1f557, llm:Description: 'A Hearthstone: Heroes of WarCraft Simulator for the purposes of Machine Learning and Data Mining' (repository description). Language: Python.