Java Hearthstone implementation