Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '2', 'RESOURCES': '6', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '4', 'RESOURCES': '5', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER'}, {'TEXT': 'Give a friendly\nminion +3/+3 until your next turn.', 'ENTITY_ID': '5', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '2'}, {'TEXT': 'Deal $1 damage to a minion. If that kills it, draw a card.', 'ENTITY_ID': '7', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '5'}, {'TEXT': '<b>Taunt</b>', 'ENTITY_ID': '12', 'HEALTH': '3', 'ATK': '1', 'COST': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'TAUNT': '1', 'CLASS': 'WARLOCK', 'CARDRACE': '15', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '6', 'CARD_TARGET': '66'}, {'TEXT': '<b>Battlecry:</b> Draw a card.', 'ENTITY_ID': '21', 'HEALTH': '1', 'ATK': '1', 'COST': '2', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '3'}, {'TEXT': '', 'ENTITY_ID': '24', 'HEALTH': '3', 'ATK': '2', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '20', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '4'}, {'TEXT': '<b>Lifesteal</b>, <b>Taunt</b>\n<b>Deathrattle:</b> Deal 1 damage\nto all enemies.', 'ENTITY_ID': '26', 'HEALTH': '3', 'ATK': '1', 'COST': '3', 'ZONE': 'HAND', 'CONTROLLER': '1', 'TAUNT': '1', 'LIFESTEAL': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '1'}, {'TEXT': '<b>Battlecry:</b> <b>Discover</b> a\n2-Cost card.', 'ENTITY_ID': '28', 'HEALTH': '1', 'ATK': '1', 'COST': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '20', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '5'}, {'TEXT': '<b>Taunt</b>\n<b>Battlecry:</b> <b>Discover</b> a <b>Taunt</b>_minion.', 'ENTITY_ID': '32', 'HEALTH': '5', 'ATK': '1', 'COST': '3', 'LAST_AFFECTED_BY': '90', 'DAMAGE': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'TAUNT': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '2', 'CARD_TARGET': '90'}, {'ENTITY_ID': '35', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '4'}, {'ENTITY_ID': '41', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '44', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'TEXT': '<b>Battlecry:</b> Draw a card.', 'ENTITY_ID': '50', 'HEALTH': '4', 'ATK': '2', 'COST': '4', 'LAST_AFFECTED_BY': '4', 'EXHAUSTED': '1', 'DAMAGE': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '59', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'ENTITY_ID': '63', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '5'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'LAST_AFFECTED_BY': '65', 'DAMAGE': '5', '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': '12', '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', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PALADIN', 'CARDTYPE': 'HERO_POWER'}, {'TEXT': '<b>Taunt</b>\n<b>Battlecry:</b> Gain +1/+1 for each enemy <b>Deathrattle</b> minion.', 'ENTITY_ID': '83', 'HEALTH': '3', 'ATK': '2', 'COST': '3', 'LAST_AFFECTED_BY': '32', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'TAUNT': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '4', 'CARD_TARGET': '66'}, {'TEXT': '[x]<b>Battlecry:</b> <b>Discover</b> a spell.\nDeal damage to your hero\nequal to its Cost.', 'ENTITY_ID': '95', 'HEALTH': '2', 'ATK': '2', 'COST': '2', 'LAST_AFFECTED_BY': '28', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDRACE': '20', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '1'}, {'TEXT': 'Deal $2 damage to a minion. Repeat to the left or right, dealing 1 more damage each time.', 'ENTITY_ID': '100', 'COST': '3', 'LAST_AFFECTED_BY': '95', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '3'}]

Available options:
{'ID': 40, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 26, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 5, 'Targets': [{'ID': 32, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_MINION_TARGET', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'REQ_FRIENDLY_TARGET', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'REQ_FRIENDLY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 100, 'Targets': [{'ID': 32, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_MINION_TARGET', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'REQ_MINION_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 24, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 7, 'Targets': [{'ID': 32, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_MINION_TARGET', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'REQ_MINION_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 65, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 32, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 32, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 12, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 32, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 83, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 32, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 28, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 32, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 95, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 50, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 32, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 83, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 28, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 95, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 21, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', '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': 50, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 21, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}]}

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

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