Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'LAST_AFFECTED_BY': '31', 'RESOURCES_USED': '4', 'RESOURCES': '7', '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': 'After your hero attacks, give this minion +1/+1.', 'ENTITY_ID': '9', 'HEALTH': '3', 'ATK': '3', 'COST': '3', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '43', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '4'}, {'TEXT': 'Swap your Hero Power to "Deal 5 damage." After 2 uses, swap it back.', 'ENTITY_ID': '12', 'COST': '4', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Lifesteal</b>', 'ENTITY_ID': '14', 'ATK': '2', 'COST': '3', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'DURABILITY': '2', 'LIFESTEAL': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'WEAPON'}, {'TEXT': '[x]Draw a card.\n<b>Outcast:</b> Draw another.', 'ENTITY_ID': '18', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '2'}, {'TEXT': 'Summon seven 1/1 Illidari with <b>Rush</b>. If_they all die this turn, summon seven more.', 'ENTITY_ID': '20', 'COST': '7', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Outcast:</b> Draw a card.', 'ENTITY_ID': '22', 'HEALTH': '1', 'ATK': '1', 'COST': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2', 'CARD_TARGET': '66'}, {'TEXT': '<b>Battlecry:</b> The next Demon you play costs (2) less.', 'ENTITY_ID': '31', 'HEALTH': '4', 'ATK': '4', 'COST': '4', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '37', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'TEXT': 'Whenever this minion takes damage, gain +3_Attack.', 'ENTITY_ID': '39', 'HEALTH': '8', 'ATK': '5', 'COST': '5', 'LAST_AFFECTED_BY': '39', 'EXHAUSTED': '1', 'DAMAGE': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '3', 'CARD_TARGET': '27'}, {'TEXT': '<b>Taunt</b>', 'ENTITY_ID': '41', 'HEALTH': '5', 'ATK': '3', 'COST': '4', 'LAST_AFFECTED_BY': '27', 'EXHAUSTED': '1', 'DAMAGE': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'TAUNT': '1', 'CHARGE': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1', 'CARD_TARGET': '27'}, {'ENTITY_ID': '53', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'TEXT': 'Whenever you summon a minion with 3 or less Attack, give it <b>Charge</b>.', 'ENTITY_ID': '55', 'HEALTH': '3', 'ATK': '2', 'COST': '3', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'WARRIOR', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'ATK': '3', 'LAST_AFFECTED_BY': '65', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'HERO', 'CARD_TARGET': '66'}, {'TEXT': '[x]<b>Hero Power</b>\n+$a1 Attack this turn.', 'ENTITY_ID': '65', 'COST': '1', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEMONHUNTER', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '', 'ENTITY_ID': '66', 'HEALTH': '30', 'LAST_AFFECTED_BY': '64', 'DAMAGE': '13', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'WARRIOR', 'CARDTYPE': 'HERO', 'CARD_TARGET': '16'}, {'TEXT': '<b>Hero Power</b>\nGain $d2 Armor.', 'ENTITY_ID': '67', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'WARRIOR', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': 'This minion has increased Attack.', 'ENTITY_ID': '106', 'ATTACHED': '39', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}, {'TEXT': 'Your hero has extra Attack this turn.', 'ENTITY_ID': '108', 'ATTACHED': '64', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DRUID', 'CARDTYPE': 'ENCHANTMENT'}]

Available options:
{'ID': 54, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 18, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 9, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 64, 'Targets': [{'ID': 41, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 22, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 31, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 55, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}, {'ID': 39, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 22, 'Targets': [{'ID': 41, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 22, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 31, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 55, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}, {'ID': 39, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 31, 'Targets': [{'ID': 41, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 22, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 31, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 55, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}, {'ID': 39, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 12, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 20, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', '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': []}, {'Type': 'POWER', 'Main': {'ID': 55, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 41, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}]}

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

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