Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '3', 'RESOURCES': '3', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER', 'CURRENT_SPELLPOWER_BASE': '1'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'LAST_AFFECTED_BY': '4', 'RESOURCES_USED': '3', 'RESOURCES': '3', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER'}, {'TEXT': "<b>Battlecry:</b> Your opponent's spells cost (1) more next_turn.", 'ENTITY_ID': '4', 'HEALTH': '2', 'ATK': '3', 'COST': '2', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '3', 'CARD_TARGET': '66', 'NUM_ATTACKS_THIS_TURN': '1'}, {'TEXT': 'Raise up to 5 <b>Corpses</b> as 2/2 Risen Ghouls with <b>Rush</b>.', 'ENTITY_ID': '5', 'COST': '5', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Battlecry:</b> Give a friendly Undead +2 Attack.', 'ENTITY_ID': '14', 'HEALTH': '2', 'ATK': '1', 'COST': '1', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '2', 'CARD_TARGET': '23'}, {'TEXT': '<b>Spell Damage +1</b>\n<b>Deathrattle:</b> Draw a card.', 'ENTITY_ID': '23', 'HEALTH': '1', 'ATK': '3', 'COST': '2', 'LAST_AFFECTED_BY': '14', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'SPELLPOWER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Battlecry and Deathrattle:</b> Draw a card.', 'ENTITY_ID': '30', 'HEALTH': '2', 'ATK': '2', 'COST': '3', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'BATTLECRY': '1', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Reborn</b>', 'ENTITY_ID': '31', 'HEALTH': '1', 'ATK': '1', 'COST': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'REBORN': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '14', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '4', 'CARD_TARGET': '66'}, {'ENTITY_ID': '37', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'ENTITY_ID': '39', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '5'}, {'ENTITY_ID': '42', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '6'}, {'ENTITY_ID': '43', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '45', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'ENTITY_ID': '59', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '4'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'LAST_AFFECTED_BY': '53', 'DAMAGE': '2', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'HERO'}, {'TEXT': '[x]<b>Hero Power</b>\nSummon a 1/1 Ghoul\nwith <b>Charge</b>. It dies at\nend of turn.', 'ENTITY_ID': '65', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '', 'ENTITY_ID': '66', 'HEALTH': '30', 'LAST_AFFECTED_BY': '4', 'DAMAGE': '8', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'WARLOCK', 'CARDTYPE': 'HERO'}, {'TEXT': '<b>Hero Power</b>\nDraw a card and take $2_damage.', 'ENTITY_ID': '67', 'COST': '2', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'WARLOCK', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '+2 Attack.', 'ENTITY_ID': '88', 'ATTACHED': '23', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'ENCHANTMENT'}]

Available options:
{'ID': 21, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 31, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 31, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 4, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 23, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 14, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 5, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 30, '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_NOT_EXHAUSTED_ACTIVATE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 23, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 14, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 31
EXHAUSTED: 0=>1
NUM_ATTACKS_THIS_TURN: 0=>1
ENTITY_ID: 66
LAST_AFFECTED_BY: 4=>31
DAMAGE: 8=>9