Live data from Hacker News

Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

github.com

1–10 of 80 posts

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#2
HearthSim is a generic Hearthstone game simulator and AI, designed to run large numbers of simulated AI vs AI games in order to test and understand the values of various game mechanics and cards.

Then I read an article about The Coin on OP's blog: http://buddypanda.com/?p=65 and I don't think that the simulator is that useful. Maybe I'm too dumb to understand this, but my intuitive idea is that a card like The Coin gives you various advantages and no disadvantages, since it is an extra card that comes for free and gives you more flexibility. How come then, that the simulator says that the player actually wins more games without The Coin?

Hearthstone isn't mainly about random encounters between AI opponents, but to gain advantage in material over your opponent over the course of the game. Sometimes, 1hp, 1 card, 1 round is sufficient to decide over victory or defeat. If the simulator neglects hero abilities (as in The Coin article), my guess would be that it's not too accurate.

However, I thought that a simulator for Hearthstone would be a great idea. I think you're onto something here, but I'd like to see a few more use cases that match my intuition I gained from playing hundreds of games of Hearthstone.

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#3
Note that the game only implements about 50 cards of the 382 cards available in the game: https://github.com/oyachai/HearthSim/tree/master/test/com/he...

BTW, if you haven't tried it yet, Hearthstone is a great CCG with a very fair progression system and very good polish/balance.

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#4
post #2

HearthSim is a generic Hearthstone game simulator and AI, designed to run large numbers of simulated AI vs AI games in order to test and understand the values of various game mechanics and cards. Then I read an article about The Coin on OP's blog: http://buddypanda.com/?p=65 and I don't think that the simulator is that useful. Maybe I'm too dumb to understand this, but my intuitive idea is that a card like The Coin g…

In that article, he shows that giving the coin to p1 (the 2nd player, it's 0-based) gives a /disadvantage/ to p0 (the 1st player), so it is actually beneficial for the player who gets the coin.

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#5
post #2

HearthSim is a generic Hearthstone game simulator and AI, designed to run large numbers of simulated AI vs AI games in order to test and understand the values of various game mechanics and cards. Then I read an article about The Coin on OP's blog: http://buddypanda.com/?p=65 and I don't think that the simulator is that useful. Maybe I'm too dumb to understand this, but my intuitive idea is that a card like The Coin g…

[deleted]

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#6
post #2

HearthSim is a generic Hearthstone game simulator and AI, designed to run large numbers of simulated AI vs AI games in order to test and understand the values of various game mechanics and cards. Then I read an article about The Coin on OP's blog: http://buddypanda.com/?p=65 and I don't think that the simulator is that useful. Maybe I'm too dumb to understand this, but my intuitive idea is that a card like The Coin g…

Adding a 'pretty good' card to a deck means you might draw that card when you need a critical one. Even though 'The Coin' is good, it may not work (as well) with the rest of the cards. As you say, 1 card, 1 round can decide the game.

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#7
post #2

HearthSim is a generic Hearthstone game simulator and AI, designed to run large numbers of simulated AI vs AI games in order to test and understand the values of various game mechanics and cards. Then I read an article about The Coin on OP's blog: http://buddypanda.com/?p=65 and I don't think that the simulator is that useful. Maybe I'm too dumb to understand this, but my intuitive idea is that a card like The Coin g…

> How come then, that the simulator says that the player actually wins more games without The Coin?

This isn't what the results say. The win rate for the player who goes first ("Player 0") rose from 41% to 61% when the player who goes second ("Player 1") was not given The Coin.

This is summarized in the text:

> The Coin basically makes what used to be a first player advantage into a first player disadvantage. Not bad for a single card!

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#8
post #2

HearthSim is a generic Hearthstone game simulator and AI, designed to run large numbers of simulated AI vs AI games in order to test and understand the values of various game mechanics and cards. Then I read an article about The Coin on OP's blog: http://buddypanda.com/?p=65 and I don't think that the simulator is that useful. Maybe I'm too dumb to understand this, but my intuitive idea is that a card like The Coin g…

[deleted]

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#9
post #2

HearthSim is a generic Hearthstone game simulator and AI, designed to run large numbers of simulated AI vs AI games in order to test and understand the values of various game mechanics and cards. Then I read an article about The Coin on OP's blog: http://buddypanda.com/?p=65 and I don't think that the simulator is that useful. Maybe I'm too dumb to understand this, but my intuitive idea is that a card like The Coin g…

In that article, he shows that giving the coin to p1 (the 2nd player, it's 0-based) gives a /disadvantage/ to p0 (the 1st player), so it is actually beneficial for the player who gets the coin.

In the simulator maybe, but according to Blizzard statistics going first has a small advantage (51%-53% winrate in feb 2014: http://www.hearthpwn.com/news/296-developer-interview-with-e...).

It was much greater before the extra card and coin was added.

Re: Show HN: HearthSim, an AI and game simulator for Hearthstone Heroes of Warcraft

#10

Note that the game only implements about 50 cards of the 382 cards available in the game: https://github.com/oyachai/HearthSim/tree/master/test/com/he... BTW, if you haven't tried it yet, Hearthstone is a great CCG with a very fair progression system and very good polish/balance.

Yep, I'm up to about 100 cards at this time, working on the basic cards first. Besides the cards, there needs to be more work on the AI modeling... currently, it won't handle any card with elements of randomness to it. I think I have an idea on how to treat it (without the AI cheating), so that implementation is coming up... soon.
Post reply on HN