Module Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore Call NameLoad Num Num body Expr Call AttributeLoad NameLoad attr Print Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A json hearthbreaker.cards FlameImp LightsJustice EyeForAnEye hearthbreaker.engine Game tests.agents.testing_agents CardTestingAgent tests.testing_utils generate_game_for _save_object N/A N/A o N/A N/A N/A N/A N/A o __to_json__ N/A _load_object N/A N/A d N/A N/A N/A N/A N/A Game __from_json__ d N/A serialize N/A N/A game N/A N/A N/A 
    Encode the given game instance as a JSON formatted string.  This string can be used to re-construct the game exactly
    as it is now

    :param heartbreaker.game_objects.Game game: The game to serialize
    :rtype: string
     N/A N/A N/A json dumps game default _save_object indent 2 N/A deserialize N/A N/A json_string agents N/A N/A N/A 
    Decode the given game instance from a JSON formatted string.

    :param string json_string: The string representation of the game
    :rtype: :class:`hearthbreaker.engine.Game`
     N/A d N/A N/A json loads json_string N/A N/A N/A Game __from_json__ d agents N/A N/A N/A __name__ __main__ N/A N/A game N/A generate_game_for N/A LightsJustice EyeForAnEye FlameImp CardTestingAgent CardTestingAgent N/A turn N/A range 0 5 N/A N/A N/A N/A game play_single_turn N/A N/A serialize game N/A game2 N/A deserialize N/A serialize game N/A N/A player agent N/A player N/A game players N/A N/A N/A game2 start