Hearthstone game state:
ENTITY_ID: 1
ZONE: PLAY
CARDTYPE: GAME
STATE: 2
ENTITY_ID: 2
PLAYSTATE: PLAYING
RESOURCES_USED: 7
RESOURCES: 8
HERO_ENTITY: 64
MAXHANDSIZE: 10
PLAYER_ID: 1
ZONE: PLAY
CONTROLLER: 1
CARDTYPE: PLAYER
ENTITY_ID: 3
PLAYSTATE: PLAYING
RESOURCES_USED: 5
RESOURCES: 8
HERO_ENTITY: 66
MAXHANDSIZE: 10
PLAYER_ID: 2
ZONE: PLAY
CONTROLLER: 2
CARDTYPE: PLAYER
TEXT: <b>Deathrattle:</b> Draw a card.
ENTITY_ID: 4
HEALTH: 1
ATK: 2
COST: 2
ZONE: PLAY
CONTROLLER: 1
CLASS: NEUTRAL
CARDTYPE: MINION
DEATHRATTLE: 1
ZONE_POSITION: 1
TEXT: Deal $2 damage to all enemy minions and <b>Freeze</b> them.
ENTITY_ID: 7
COST: 6
ZONE: HAND
CONTROLLER: 1
CLASS: MAGE
CARDTYPE: SPELL
FREEZE: 1
ZONE_POSITION: 1
TEXT: <b>Battlecry:</b> Draw spells until your hand is full.
ENTITY_ID: 10
HEALTH: 12
ATK: 4
COST: 9
ZONE: HAND
CONTROLLER: 1
CLASS: NEUTRAL
CARDRACE: 24
CARDTYPE: MINION
BATTLECRY: 1
ZONE_POSITION: 3
TEXT: Deal $2 damage to all enemy minions and <b>Freeze</b> them.
ENTITY_ID: 23
COST: 6
ZONE: HAND
CONTROLLER: 1
CLASS: MAGE
CARDTYPE: SPELL
FREEZE: 1
ZONE_POSITION: 2
ENTITY_ID: 61
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 1
ENTITY_ID: 64
HEALTH: 30
LAST_AFFECTED_BY: 65
DAMAGE: 1
ZONE: PLAY
CONTROLLER: 1
CLASS: MAGE
CARDTYPE: HERO
TEXT: <b>Hero Power</b>
Deal $1 damage.
ENTITY_ID: 65
COST: 2
EXHAUSTED: 1
ZONE: PLAY
CONTROLLER: 1
CLASS: MAGE
CARDTYPE: HERO_POWER
CARD_TARGET: 49
ENTITY_ID: 66
HEALTH: 30
LAST_AFFECTED_BY: 32
DAMAGE: 6
ZONE: PLAY
CONTROLLER: 2
CLASS: PRIEST
CARDTYPE: HERO
TEXT: <b>Hero Power</b>
Restore #2 Health.
ENTITY_ID: 67
COST: 2
EXHAUSTED: 1
ZONE: PLAY
CONTROLLER: 2
CLASS: PRIEST
CARDTYPE: HERO_POWER
CARD_TARGET: 35
ENTITY_ID: 106
HEALTH: 2
ATK: 1
COST: 1
ZONE: HAND
CONTROLLER: 1
CLASS: NEUTRAL
CARDRACE: 18
CARDTYPE: MINION
ZONE_POSITION: 4

Available options:
{'ID': 57, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 106, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 4, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 4, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 7, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 23, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 10, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 64, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ATTACK_GREATER_THAN_0', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 65, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_EXHAUSTED_HERO_POWER', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 66, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 67, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}]}

Chosen action:
HasSubOption: yes
HasPosition: yes
Id: 57
Index: 1
Target: 0
SubOption: -1
Position: 2

Outcome:
ENTITY_ID: 2
RESOURCES_USED: 7=>8
ENTITY_ID: 106
EXHAUSTED: 0=>1
ZONE: HAND=>PLAY
ZONE_POSITION: 4=>2