News for hackers. Stuff that matters.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by ntaso on Friday July 11, 2014 @10:11AM (#8020187)
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 Hearthst... by epriest on Friday July 11, 2014 @10:17AM (#8020215)
> 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 Hearthst... by ciaranm on Friday July 11, 2014 @11:18AM (#8020565)
As far as I'm aware, official stats from Blizzard is that the player going first is wins a higher % of the time than going second, despite the coin. I'll try and find the source.

User dtech already found the source for me (: -> https://news.ycombinator.com/item?id=8020232

Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by goldenkey on Friday July 11, 2014 @11:49AM (#8020781)
Not with all decks though apparently. Freeze mage can benefit from the coin immensely
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by ciaranm on Friday July 11, 2014 @02:48PM (#8021754)
I appreciate your point about coin being stronger in some decks than others - that doesn't change the fact that across _all_ of the games of hearthstone being played, if you go first you're more likely to win than if you go second.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by ohashi on Friday July 11, 2014 @12:11PM (#8020904)
Miracle rogue too (coin defias ringleader anyone?). Certain rush/zoo decks to get extra minions out faster can be overwhelming.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by Lockyy on Friday July 11, 2014 @10:37AM (#8020315)
And don't forget the further upside of going second, you get an extra card in your starting hand. I really do feel like going second is far superior to going first right now.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by ntaso on Friday July 11, 2014 @10:30AM (#8020280)
Ah, misunderstanding from my side. Thanks for clarifying.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by king_jester on Friday July 11, 2014 @10:31AM (#8020288)
> 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.

The Coin does indeed give you advantages with no downside. However, the reason why you get the coin has to do with the mechanics of Hearthstone. In the case where The Coin didn't exist, you would be at a severe disadvantage if you didn't go first.

In Hearthstone, since you can generally control where your minions attack, going first gives you tempo. If your opponent didn't have the coin, as the player going first you could permanently maintain your tempo and win with regularity (depending on what cards you draw). In card games it is important that tempo be something that can change in the course of the game in order to make things more fair.

Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by Vaskivo on Friday July 11, 2014 @11:03AM (#8020456)
IMO the Coin is a tricky thing. While you can argue that it balances the two player, the second player has the additional choice of when to use the Coin.

The first player has the advantage of going first. That is a given advantage, with no choice involved. It is harder to "waste" that advantage. The Coin, on the other hand, is much more linked to choice (when to use) and therefore, easily wasted. It is also an additional "thing" for the second player to think about when playing, while the first player doesn't have this burden.

Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by rcthompson on Friday July 11, 2014 @01:09PM (#8021229)
Player 1 gets the coin, but the table is listing Player 0's win percentage. So when you give the coin to Player 1, Player 0's win percentage goes down. So yes, the coin is a massive advantage. In other words, the player wins more 20% games when the opponent doesn't get the coin, all else being equal.

If you want some real-world stats about going first vs. second, try the stats from Arena Mastery[1], which more or less match what Bilzzard has said anecdotally: with the second player getting the coin, going first is still a slight advantage.

[1] http://arenamastery.com/sitewide.php

Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by NickPollard on Friday July 11, 2014 @10:13AM (#8020199)
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 Hearthst... by dtech on Friday July 11, 2014 @10:21AM (#8020232)
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 Hearthst... by oyachai on Friday July 11, 2014 @10:26AM (#8020255)
That might be true. The advantage that The Coin gives you is highly dependent on the deck that you have. In that particular deck that I used in the simulations, the advantage is rather large. For a deck consisting of stronger (higher mana) cards, the advantage is much smaller. I think it's basically due to the fact that a 2-mana drop vs 1-mana drop is much stronger than a 7-mana drop vs a 6-mana drop.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by NickPollard on Friday July 11, 2014 @10:29AM (#8020274)
Yes, sorry I was referring to his numbers in the simulator rather than in the actual game.

In the game it depends on the deck - for some decks, it's more useful than others, either due to particular mana curves, or to triggered effects (the coin counts as a spell, so can trigger cards like Gadgetzan Auctioneer or Wild Pyromancer)

Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by Kiro on Friday July 11, 2014 @12:17PM (#8020936)
I don't see anything about The Coin in that interview. Where did you get 51%-53% from?
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by dtech on Saturday July 12, 2014 @12:38AM (#8023722)
It's right there

> Ben: It's about three percent better to go first over second.

The 51% was mentioned is in a previous Blizzcon QA

Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by JoeAltmaier on Friday July 11, 2014 @10:16AM (#8020212)
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 Hearthst... by arrogant on Friday July 11, 2014 @10:25AM (#8020251)
While this is true in the general case, The Coin is an extra card added to your hand at the beginning of the game and is never a part of your deck. It is purely beneficial.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by infiniteri on Friday July 11, 2014 @12:33PM (#8021046)
It is. Additionally the person who gets the Coin also gets an extra card in their starting hand. You can "mulligan" this card, or swap it out of your starting hand for another draw. Although this might seem relatively trivial, having an extra chance to mulligan a card increases your chances significantly of getting a card that you want in a specific matchup.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by MattRL on Friday July 11, 2014 @10:28AM (#8020271)
In Hearthstone the coin is an extra card that the second player is always given at the start of the game, so no such disadvantage in Hearthstone.