Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '2', 'RESOURCES': '8', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '7', 'RESOURCES': '7', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER'}, {'TEXT': '<b>Secret:</b> After your opponent plays a minion, spell, or weapon, draw a card of the other 2 types.', 'ENTITY_ID': '5', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'SPELL', 'SECRET': '1', 'ZONE_POSITION': '3'}, {'TEXT': 'Get all 3 Animal Companions. They\ncost (1) less.', 'ENTITY_ID': '10', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '7'}, {'TEXT': 'After your hero attacks, summon a 1/1 Hound.', 'ENTITY_ID': '13', 'ATK': '1', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'DURABILITY': '3', 'CLASS': 'HUNTER', 'CARDTYPE': 'WEAPON', 'ZONE_POSITION': '5'}, {'TEXT': '<b>Secret:</b> When your opponent casts a spell, return it to their hand instead. It costs (1) more.', 'ENTITY_ID': '14', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'SPELL', 'SECRET': '1', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Secret:</b> When your hero is attacked, deal $2 damage to all enemies.', 'ENTITY_ID': '18', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'SPELL', 'SECRET': '1', 'ZONE_POSITION': '6'}, {'TEXT': 'Summon two 1/1 Snakes with <b>Stealth</b>.', 'ENTITY_ID': '20', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Secret:</b> When your hero is attacked, deal $2 damage to all enemies.', 'ENTITY_ID': '26', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'SPELL', 'SECRET': '1', 'ZONE_POSITION': '4'}, {'ENTITY_ID': '34', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'ENTITY_ID': '35', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'TEXT': '', 'ENTITY_ID': '39', 'HEALTH': '7', 'ATK': '2', 'COST': '4', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDRACE': '20', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1', 'CARD_TARGET': '64'}, {'ENTITY_ID': '52', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '4'}, {'ENTITY_ID': '54', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '5'}, {'ENTITY_ID': '61', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'LAST_AFFECTED_BY': '51', 'DAMAGE': '11', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nDeal $2 damage to the enemy hero.@<b>Hero Power</b>\nDeal $2 damage.', 'ENTITY_ID': '65', 'COST': '2', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'HUNTER', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '', 'ENTITY_ID': '66', 'HEALTH': '30', 'LAST_AFFECTED_BY': '65', 'DAMAGE': '12', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'MAGE', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nDeal $1 damage.', 'ENTITY_ID': '67', 'COST': '2', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'MAGE', 'CARDTYPE': 'HERO_POWER', 'CARD_TARGET': '27'}]

Available options:
{'ID': 47, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 14, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 20, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 5, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 26, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 13, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 18, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 10, 'Targets': [], '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': 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': []}, {'Type': 'POWER', 'Main': {'ID': 39, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 2
RESOURCES_USED: 2=>4
ENTITY_ID: 5
ZONE_POSITION: 3=>2
ENTITY_ID: 10
ZONE_POSITION: 7=>6
ENTITY_ID: 13
ZONE_POSITION: 5=>4
ENTITY_ID: 18
ZONE_POSITION: 6=>5
ENTITY_ID: 20
ZONE_POSITION: 2=>1
ENTITY_ID: 26
ZONE_POSITION: 4=>3