Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES': '6', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '3', 'RESOURCES': '6', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER'}, {'TEXT': '<b>Battlecry:</b> Draw a card.', 'ENTITY_ID': '6', 'HEALTH': '1', 'ATK': '1', 'COST': '2', 'LAST_AFFECTED_BY': '12', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '5', 'CARD_TARGET': '66'}, {'TEXT': '<b>Taunt</b>\nAdjacent minions are <b>Immune</b> while attacking.', 'ENTITY_ID': '9', 'HEALTH': '5', 'ATK': '2', 'COST': '4', 'ZONE': 'HAND', 'CONTROLLER': '1', 'TAUNT': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '4'}, {'TEXT': '<b>Taunt</b>\nAdjacent minions are <b>Immune</b> while attacking.', 'ENTITY_ID': '12', 'HEALTH': '5', 'ATK': '2', 'COST': '4', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'TAUNT': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '4', 'CARD_TARGET': '66'}, {'TEXT': '<b>Deathrattle:</b> Summon a 4/4 Nerubian.', 'ENTITY_ID': '13', 'HEALTH': '2', 'COST': '2', 'LAST_AFFECTED_BY': '12', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'DEATHRATTLE': '1', 'ZONE_POSITION': '3'}, {'TEXT': 'Give a friendly\nminion +3/+3 until your next turn.', 'ENTITY_ID': '17', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '3'}, {'TEXT': 'Destroy a friendly Demon. Restore #5 Health to your hero.', 'ENTITY_ID': '18', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '1'}, {'TEXT': '', 'ENTITY_ID': '20', 'HEALTH': '3', 'ATK': '2', 'COST': '2', 'LAST_AFFECTED_BY': '46', 'DAMAGE': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '20', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1', 'CARD_TARGET': '46'}, {'TEXT': 'Deal $1 damage to a minion. If that kills it, draw a card.', 'ENTITY_ID': '25', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'WARLOCK', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '5'}, {'TEXT': '', 'ENTITY_ID': '30', 'HEALTH': '7', 'ATK': '6', 'COST': '6', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2'}, {'TEXT': '', 'ENTITY_ID': '33', 'HEALTH': '1', 'ATK': '1', 'LAST_AFFECTED_BY': '12', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '20', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2', 'CARD_TARGET': '66'}, {'ENTITY_ID': '35', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '5'}, {'ENTITY_ID': '40', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '41', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'TEXT': '', 'ENTITY_ID': '49', 'ATK': '1', 'COST': '1', 'LAST_AFFECTED_BY': '3', 'EXHAUSTED': '1', 'DAMAGE': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'DURABILITY': '4', 'CLASS': 'PALADIN', 'CARDTYPE': 'WEAPON'}, {'TEXT': '<b>Battlecry:</b> Draw a card.', 'ENTITY_ID': '51', 'HEALTH': '4', 'ATK': '2', 'COST': '4', 'LAST_AFFECTED_BY': '11', 'EXHAUSTED': '1', 'DAMAGE': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'BATTLECRY': '1', 'ZONE_POSITION': '1', 'CARD_TARGET': '11'}, {'ENTITY_ID': '58', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '4'}, {'ENTITY_ID': '62', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'LAST_AFFECTED_BY': '65', 'DAMAGE': '2', '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': '11', 'EXHAUSTED': '1', 'DAMAGE': '9', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PALADIN', 'CARDTYPE': 'HERO', 'CARD_TARGET': '11', 'NUM_ATTACKS_THIS_TURN': '1'}, {'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': '<b>Immune</b> while attacking.', 'ENTITY_ID': '87', 'ATTACHED': '6', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}, {'TEXT': '<b>Immune</b> while attacking.', 'ENTITY_ID': '97', 'ATTACHED': '13', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}, {'TEXT': '', 'ENTITY_ID': '98', 'HEALTH': '1', 'ATK': '1', 'COST': '1', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'PALADIN', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2'}]

Available options:
{'ID': 40, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 30, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 17, 'Targets': [{'ID': 20, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 6, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 33, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 13, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_MINION_TARGET', 'PlayErrorParam': None}}, {'ID': 66, 'PlayErrorInfo': {'PlayError': 'REQ_FRIENDLY_TARGET', 'PlayErrorParam': None}}, {'ID': 51, 'PlayErrorInfo': {'PlayError': 'REQ_FRIENDLY_TARGET', 'PlayErrorParam': None}}, {'ID': 98, 'PlayErrorInfo': {'PlayError': 'REQ_FRIENDLY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 9, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 25, 'Targets': [{'ID': 20, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 6, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 33, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 51, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 13, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 98, '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': 20, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 51, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 98, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 20, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 6, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 33, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 13, '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': 51, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 98, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 20, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 6, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 33, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 13, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 6, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 51, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 98, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 20, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 6, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 33, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 13, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 33, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 51, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 98, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 20, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 12, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 6, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 33, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 13, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 18, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_TARGET_TO_PLAY', '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': 51, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 13, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ATTACK_GREATER_THAN_0', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 98, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 49, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 2
RESOURCES_USED: 0=>6
ENTITY_ID: 6
ZONE_POSITION: 5=>6
ENTITY_ID: 9
ZONE_POSITION: 4=>3
ENTITY_ID: 12
ZONE_POSITION: 4=>5
ENTITY_ID: 13
ZONE_POSITION: 3=>4
ENTITY_ID: 17
ZONE_POSITION: 3=>2
ENTITY_ID: 25
ZONE_POSITION: 5=>4
ENTITY_ID: 30
EXHAUSTED: 0=>1
ZONE: HAND=>PLAY
ZONE_POSITION: 2=>3