Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '9', 'RESOURCES': '9', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '8', 'RESOURCES': '9', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER'}, {'TEXT': '<b>Deathrattle:</b> Summon a 4/4 Nerubian.', 'ENTITY_ID': '4', 'HEALTH': '2', 'COST': '2', 'LAST_AFFECTED_BY': '8', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '4'}, {'TEXT': '', 'ENTITY_ID': '24', 'HEALTH': '3', 'ATK': '2', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '20', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1'}, {'TEXT': 'Destroy a friendly Demon. Restore #5 Health to your hero.', 'ENTITY_ID': '26', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Lifesteal</b>, <b>Taunt</b>\n<b>Deathrattle:</b> Deal 1 damage\nto all enemies.', 'ENTITY_ID': '27', 'HEALTH': '3', 'ATK': '1', 'COST': '3', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'TAUNT': '1', 'LIFESTEAL': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '2'}, {'TEXT': 'Destroy a friendly Demon. Restore #5 Health to your hero.', 'ENTITY_ID': '30', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Deathrattle:</b> Summon a 4/4 Nerubian.', 'ENTITY_ID': '33', 'HEALTH': '2', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Taunt</b>', 'ENTITY_ID': '40', 'HEALTH': '5', 'ATK': '6', 'COST': '6', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'TAUNT': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Charge</b>', 'ENTITY_ID': '45', 'HEALTH': '5', 'ATK': '2', 'COST': '4', 'LAST_AFFECTED_BY': '16', 'EXHAUSTED': '1', 'DAMAGE': '4', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CHARGE': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2', 'CARD_TARGET': '16'}, {'ENTITY_ID': '50', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'ENTITY_ID': '51', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'LAST_AFFECTED_BY': '65', 'DAMAGE': '7', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nDraw a card and take $2_damage.', 'ENTITY_ID': '65', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '', 'ENTITY_ID': '66', 'HEALTH': '30', 'LAST_AFFECTED_BY': '23', 'DAMAGE': '9', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PALADIN', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nSummon a 1/1 Silver Hand Recruit.', 'ENTITY_ID': '67', 'COST': '2', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PALADIN', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '[x]<b>Taunt</b>, <b>Reborn</b>\n<b>Deathrattle:</b> Restore #3\nHealth to your hero.', 'ENTITY_ID': '111', 'HEALTH': '4', 'ATK': '3', 'COST': '6', 'LAST_AFFECTED_BY': '11', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'TAUNT': '1', 'REBORN': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '3'}, {'TEXT': '', 'ENTITY_ID': '119', 'HEALTH': '1', 'ATK': '1', 'COST': '1', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PALADIN', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '3'}]

Available options:
{'ID': 71, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 24, 'Targets': [{'ID': 40, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 4, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 24, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 27, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 111, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 119, 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TAUNTER', 'PlayErrorParam': None}}, {'ID': 45, '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': 30, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TO_PLAY', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 26, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TO_PLAY', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 33, '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_ENOUGH_MANA', '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': 4, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ATTACK_GREATER_THAN_0', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 45, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 40, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 119, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 27, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 111, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 4
ZONE_POSITION: 4=>3
ENTITY_ID: 27
ZONE_POSITION: 2=>1
ENTITY_ID: 40
LAST_AFFECTED_BY: 0=>24
DAMAGE: 0=>2
ENTITY_ID: 111
ZONE_POSITION: 3=>2