News for hackers. Stuff that matters.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by z131 on Friday July 11, 2014 @10:33AM (#8020297)
Dear god thank you for not writing this in javascript.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by Kiro on Friday July 11, 2014 @11:07AM (#8020485)
I'm working on a version in JavaScript. I will send it to you when it's done.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by oyachai on Friday July 11, 2014 @10:36AM (#8020313)
Simulation speed is of primary concern here (though javascript isn't too shabby)! I actually have a C++ version too, but I thought Java might be more accessible to more people...
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by z131 on Friday July 11, 2014 @10:46AM (#8020348)
I completely understand the need for speed, which is why I'm happy you picked something like Java. It's just with the popularity of Javascript on HN, I was worried that it would be yet another JS project.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by slapresta on Friday July 11, 2014 @01:10PM (#8021233)
How can simulation speed be a concern in a turn-based card game?
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by oyachai on Friday July 11, 2014 @02:06PM (#8021520)
HearthSim is designed purely as a AI vs AI game simulation tool. It's not a "playable" Hearthstone clone. In the examples on my blog, I usually run 40,000 simulated games per data point, and each set of 40,000 games usually takes a few hours to run on a relatively modern PC.
Re:Show HN: HearthSim, an AI and game simulator for Hearthst... by lambada on Friday July 11, 2014 @03:03PM (#8021837)
Because this simulation is concerned with simulating as many games as possible. So overall speed matters.