I wrote a hearthstone simulator when the game came out.
https://github.com/jleclanche/fireplace
It was used and referenced by a few scientific papers and phds since. It’s my little pride, even though it would really need a rewrite at this point to work properly with all the additions in the game.
It contains its own little python driven dsl for actions. I could talk about it for hours. All that work led to me starting a company around hearthstone (I have since left it behind but it eventually grew into other games).
replies(1):