Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '1', 'RESOURCES': '4', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'LAST_AFFECTED_BY': '23', 'RESOURCES_USED': '4', 'RESOURCES': '4', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER', 'CURRENT_SPELLPOWER_BASE': '1'}, {'TEXT': 'Your other minions have +1/+1.', 'ENTITY_ID': '4', 'HEALTH': '7', 'ATK': '7', 'COST': '7', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2'}, {'TEXT': 'Deal $2 damage to all enemies. Draw a card.', 'ENTITY_ID': '6', 'COST': '4', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '5'}, {'TEXT': 'Give all minions in your hand +1/+1.\nSpend 2 <b>Corpses</b> to give them +1/+1 more.', 'ENTITY_ID': '14', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '4'}, {'TEXT': '<b>Battlecry:</b> Give a friendly Undead +2 Attack.', 'ENTITY_ID': '18', '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': '24'}, {'TEXT': 'After you cast a spell, deal 1 damage to ALL minions.', 'ENTITY_ID': '19', 'HEALTH': '2', 'ATK': '3', 'COST': '2', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1', 'CARD_TARGET': '66'}, {'TEXT': '[x]<b>Taunt</b>, <b>Lifesteal</b>\nAt the end of your turn,\nattack the lowest Health\nenemy.', 'ENTITY_ID': '20', 'HEALTH': '6', 'ATK': '5', 'COST': '6', 'ZONE': 'HAND', 'CONTROLLER': '1', 'TAUNT': '1', 'LIFESTEAL': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Battlecry and Deathrattle:</b> Draw a card.', 'ENTITY_ID': '24', 'HEALTH': '2', 'ATK': '4', 'COST': '3', 'LAST_AFFECTED_BY': '18', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDRACE': '11', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'BATTLECRY': '1', 'ZONE_POSITION': '3'}, {'TEXT': 'Give all minions in your hand +1/+1.\nSpend 2 <b>Corpses</b> to give them +1/+1 more.', 'ENTITY_ID': '28', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '35', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '7'}, {'ENTITY_ID': '38', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Spell Damage +1</b>', 'ENTITY_ID': '40', 'HEALTH': '4', 'ATK': '4', 'COST': '4', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'SPELLPOWER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '44', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '6'}, {'ENTITY_ID': '50', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '51', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '5'}, {'ENTITY_ID': '58', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'ENTITY_ID': '63', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '4'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', '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': '19', 'DAMAGE': '7', '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': '+2 Attack.', 'ENTITY_ID': '87', 'ATTACHED': '24', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'ENCHANTMENT'}]

Available options:
{'ID': 19, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 28, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 14, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 65, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 19, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 40, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 19, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 24, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 18, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 24, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 40, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 19, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 24, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 18, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 4, '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': 6, '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': 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': 40, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 18, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 3
CURRENT_SPELLPOWER_BASE: 1=>0
TEXT: After you cast a spell, deal 1 damage to ALL minions.
ENTITY_ID: 31
HEALTH: 2
ATK: 3
COST: 2
ZONE: HAND
CONTROLLER: 1
CLASS: NEUTRAL
CARDRACE: 11
CARDTYPE: MINION
ZONE_POSITION: 6