Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES': '4', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '3', 'RESOURCES': '4', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER'}, {'TEXT': 'Draw 2 cards.', 'ENTITY_ID': '9', 'COST': '3', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'MAGE', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Battlecry:</b> <b>Freeze</b> an_enemy.', 'ENTITY_ID': '16', 'HEALTH': '1', 'ATK': '2', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '18', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '4'}, {'TEXT': 'Deal $6 damage.', 'ENTITY_ID': '21', 'COST': '4', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'MAGE', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Taunt</b>', 'ENTITY_ID': '25', 'HEALTH': '5', 'ATK': '3', 'COST': '4', 'ZONE': 'HAND', 'CONTROLLER': '1', 'TAUNT': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '5'}, {'TEXT': '<b>Battlecry:</b> <b>Freeze</b> an_enemy.', 'ENTITY_ID': '29', 'HEALTH': '1', 'ATK': '2', 'COST': '1', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '18', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '1', 'CARD_TARGET': '66', 'NUM_ATTACKS_THIS_TURN': '1'}, {'TEXT': '<b>Taunt</b>', 'ENTITY_ID': '30', 'HEALTH': '5', 'ATK': '3', 'COST': '4', 'ZONE': 'HAND', 'CONTROLLER': '1', 'TAUNT': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '37', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Battlecry:</b> Restore #2_Health.', 'ENTITY_ID': '54', 'HEALTH': '3', 'ATK': '2', 'COST': '1', 'LAST_AFFECTED_BY': '59', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '1', 'CARD_TARGET': '66'}, {'ENTITY_ID': '60', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '61', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'MAGE', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nDeal $1 damage.', 'ENTITY_ID': '65', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'MAGE', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '', 'ENTITY_ID': '66', 'HEALTH': '30', 'LAST_AFFECTED_BY': '29', 'DAMAGE': '3', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PRIEST', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nRestore #2 Health.', 'ENTITY_ID': '67', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PRIEST', 'CARDTYPE': 'HERO_POWER', 'CARD_TARGET': '66'}, {'TEXT': '+2 Health.', 'ENTITY_ID': '86', 'ATTACHED': '54', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PRIEST', 'CARDTYPE': 'ENCHANTMENT'}]

Available options:
{'ID': 22, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 30, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 21, 'Targets': [{'ID': 64, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 29, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 54, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 9, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 16, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 54, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 29, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 25, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 65, 'Targets': [{'ID': 64, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 29, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 54, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 64, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ATTACK_GREATER_THAN_0', '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': []}, {'Type': 'POWER', 'Main': {'ID': 29, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_EXHAUSTED_ACTIVATE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 54, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 2
RESOURCES_USED: 0=>4
ENTITY_ID: 9
ZONE_POSITION: 3=>2
ENTITY_ID: 16
ZONE_POSITION: 4=>3
ENTITY_ID: 21
ZONE_POSITION: 2=>1
ENTITY_ID: 25
ZONE_POSITION: 5=>4
ENTITY_ID: 29
ZONE_POSITION: 1=>2
ENTITY_ID: 30
EXHAUSTED: 0=>1
ZONE: HAND=>PLAY