Re:Show HN: HearthSim, an AI and game simulator for Hearthst...
by oyachai on Friday July 11, 2014 @01:03PM
(#8021203)
The event/listener paradigm is an interesting way of going about this, and I considered doing it that way at the beginning. But, after some thinking and experimenting, I found the "card use -> modify BoardState" way more straight forward, especially since it leads to a nice recursive tree structure for the game AI engine. The primary goal of this simulator is to do statistical analysis on deck performance, so I think it's a decent way of going about it. On the other hand, if my goal were to create an actual playable game clone, I probably would have taken the event/listener approach.
[ Parent
| on HN ]
There are no comments on this comment yet.