Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '7', 'RESOURCES': '7', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'LAST_AFFECTED_BY': '33', 'RESOURCES_USED': '7', 'RESOURCES': '7', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER', 'CURRENT_SPELLPOWER_BASE': '1'}, {'TEXT': 'Give all minions in your hand +1/+1.\nSpend 2 <b>Corpses</b> to give them +1/+1 more.', 'ENTITY_ID': '5', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '2'}, {'TEXT': 'Your other minions have +1/+1.', 'ENTITY_ID': '10', 'HEALTH': '7', 'ATK': '7', 'COST': '7', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Reborn</b>\n<b>Battlecry and Deathrattle:</b> Deal 2 damage to a random enemy.', 'ENTITY_ID': '13', 'HEALTH': '4', 'ATK': '4', 'COST': '4', 'LAST_AFFECTED_BY': '16', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'REBORN': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'BATTLECRY': '1', 'ZONE_POSITION': '1'}, {'TEXT': 'Your other minions have +1/+1.', 'ENTITY_ID': '16', 'HEALTH': '7', 'ATK': '7', 'COST': '7', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Battlecry and Deathrattle:</b> Draw a card.', 'ENTITY_ID': '21', 'HEALTH': '2', 'ATK': '2', 'COST': '3', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'BATTLECRY': '1', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Reborn</b>', 'ENTITY_ID': '27', 'HEALTH': '2', 'ATK': '2', 'COST': '1', 'LAST_AFFECTED_BY': '16', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'REBORN': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '14', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Battlecry and Deathrattle:</b> Draw a card.', 'ENTITY_ID': '29', 'HEALTH': '3', 'ATK': '3', 'COST': '3', 'LAST_AFFECTED_BY': '16', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'BATTLECRY': '1', 'ZONE_POSITION': '4', 'CARD_TARGET': '66', 'NUM_ATTACKS_THIS_TURN': '1'}, {'TEXT': '<b>Battlecry:</b> Give a friendly Undead +2 Attack.', 'ENTITY_ID': '31', 'HEALTH': '2', 'ATK': '1', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '4'}, {'ENTITY_ID': '34', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Spell Damage +1</b>', 'ENTITY_ID': '41', 'HEALTH': '4', 'ATK': '4', 'COST': '4', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'SPELLPOWER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Charge</b>', 'ENTITY_ID': '42', 'HEALTH': '1', 'ATK': '3', 'COST': '3', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CHARGE': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2', 'CARD_TARGET': '64'}, {'ENTITY_ID': '50', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'TEXT': '', 'ENTITY_ID': '51', 'HEALTH': '5', 'ATK': '4', 'COST': '4', 'LAST_AFFECTED_BY': '91', 'EXHAUSTED': '1', 'DAMAGE': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '3', 'CARD_TARGET': '91'}, {'ENTITY_ID': '57', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '4'}, {'ENTITY_ID': '61', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'LAST_AFFECTED_BY': '42', 'DAMAGE': '9', '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': '29', 'DAMAGE': '22', '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', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'WARLOCK', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '+1/+1.', 'ENTITY_ID': '102', 'ATTACHED': '29', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}, {'TEXT': '+1/+1.', 'ENTITY_ID': '103', 'ATTACHED': '13', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}, {'TEXT': '+1/+1.', 'ENTITY_ID': '104', 'ATTACHED': '27', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}]

Available options:
{'ID': 48, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 13, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 51, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 42, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 41, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 29, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 13, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 27, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 16, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 27, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 51, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 42, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 41, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 29, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 13, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 27, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 16, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 21, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 5, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 10, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 31, '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': 51, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 29, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_EXHAUSTED_ACTIVATE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 42, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 41, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 16, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 27
EXHAUSTED: 0=>1
CARD_TARGET: 0=>66
NUM_ATTACKS_THIS_TURN: 0=>1
ENTITY_ID: 66
LAST_AFFECTED_BY: 29=>27
DAMAGE: 22=>24