Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '1', 'RESOURCES': '6', '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': 'Adjacent minions have +2_Attack.', 'ENTITY_ID': '4', 'HEALTH': '3', 'ATK': '2', 'COST': '2', 'LAST_AFFECTED_BY': '29', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDRACE': '21', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2', 'CARD_TARGET': '66'}, {'TEXT': 'Summon two 2/3 Spirit Wolves with <b>Taunt</b>. <b>Overload:</b> (1)', 'ENTITY_ID': '5', 'COST': '3', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDTYPE': 'SPELL', 'OVERLOAD': '1', 'ZONE_POSITION': '3'}, {'TEXT': 'Draw 2 cards. <b>Overload:</b> (1)', 'ENTITY_ID': '14', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDTYPE': 'SPELL', 'OVERLOAD': '1', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Spell Damage +1</b>\n<b>Deathrattle:</b> Draw a card.', 'ENTITY_ID': '20', 'HEALTH': '1', 'ATK': '1', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'SPELLPOWER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '1'}, {'TEXT': 'Adjacent minions have +2_Attack.', 'ENTITY_ID': '29', 'HEALTH': '3', 'ATK': '2', 'COST': '2', 'LAST_AFFECTED_BY': '66', 'DAMAGE': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDRACE': '21', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '38', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nSummon a random basic Totem.', 'ENTITY_ID': '65', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '', 'ENTITY_ID': '66', 'HEALTH': '30', 'LAST_AFFECTED_BY': '29', 'EXHAUSTED': '1', 'DAMAGE': '11', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'DRUID', 'CARDTYPE': 'HERO', 'CARD_TARGET': '29', 'NUM_ATTACKS_THIS_TURN': '1'}, {'TEXT': '<b>Hero Power</b>\n+$a1 Attack this turn.\n+$d1 Armor.', 'ENTITY_ID': '67', 'COST': '2', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'DRUID', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '+2 Attack from Flametongue Totem.', 'ENTITY_ID': '99', 'ATTACHED': '29', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDTYPE': 'ENCHANTMENT'}, {'TEXT': '+2 Attack from Flametongue Totem.', 'ENTITY_ID': '100', 'ATTACHED': '4', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDTYPE': 'ENCHANTMENT'}]

Available options:
{'ID': 40, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 20, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 14, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 5, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 65, '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}}, {'ID': 29, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 29, '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}}, {'ID': 29, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', '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': []}]}

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

Outcome:
[{'ENTITY_ID': '2', 'RESOURCES_USED': '1=>3'}, {'ENTITY_ID': '65', 'EXHAUSTED': '0=>1'}, {'TEXT': '', 'ENTITY_ID': '104', 'HEALTH': '1', 'ATK': '3', 'COST': '1', 'LAST_AFFECTED_BY': '4', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDRACE': '21', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '3'}, {'TEXT': '+2 Attack from Flametongue Totem.', 'ENTITY_ID': '105', 'ATTACHED': '104', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'SHAMAN', 'CARDTYPE': 'ENCHANTMENT'}]