Hearthstone game state:
[{'ENTITY_ID': '1', 'ZONE': 'PLAY', 'CARDTYPE': 'GAME', 'STATE': '2'}, {'ENTITY_ID': '2', 'PLAYSTATE': 'PLAYING', 'RESOURCES_USED': '7', 'RESOURCES': '8', 'HERO_ENTITY': '64', 'MAXHANDSIZE': '10', 'PLAYER_ID': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CARDTYPE': 'PLAYER'}, {'ENTITY_ID': '3', 'PLAYSTATE': 'PLAYING', 'LAST_AFFECTED_BY': '16', 'RESOURCES_USED': '7', 'RESOURCES': '7', 'HERO_ENTITY': '66', 'MAXHANDSIZE': '10', 'PLAYER_ID': '2', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CARDTYPE': 'PLAYER'}, {'TEXT': 'Give all minions in your hand +1/+1.\nSpend 2 <b>Corpses</b> to give them +1/+1 more.', 'ENTITY_ID': '8', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '3'}, {'TEXT': 'Give your minions +1/+1 and <b>Elusive</b>.', 'ENTITY_ID': '15', 'COST': '3', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '2'}, {'TEXT': 'Your other minions have +1/+1.', 'ENTITY_ID': '17', 'HEALTH': '8', 'ATK': '8', 'COST': '7', 'LAST_AFFECTED_BY': '29', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '2'}, {'TEXT': '<b>Reborn</b>', 'ENTITY_ID': '26', 'HEALTH': '1', 'ATK': '1', 'COST': '1', 'ZONE': 'HAND', 'CONTROLLER': '1', 'REBORN': '1', 'CLASS': 'NEUTRAL', 'CARDRACE': '14', 'CARDTYPE': 'MINION', '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': '28', 'COST': '2', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '1'}, {'TEXT': 'Your other minions have +1/+1.', 'ENTITY_ID': '29', 'HEALTH': '8', 'ATK': '8', 'COST': '7', 'LAST_AFFECTED_BY': '17', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1', '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': '30', 'COST': '5', 'ZONE': 'HAND', 'CONTROLLER': '1', 'CLASS': 'DEATHKNIGHT', 'CARDTYPE': 'SPELL', 'ZONE_POSITION': '4'}, {'TEXT': '', 'ENTITY_ID': '34', 'HEALTH': '7', 'ATK': '7', 'COST': '7', 'EXHAUSTED': '1', 'ZONE': 'PLAY', 'CONTROLLER': '2', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'MINION', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '39', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '7'}, {'ENTITY_ID': '41', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '1'}, {'ENTITY_ID': '46', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '5'}, {'ENTITY_ID': '56', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '2'}, {'ENTITY_ID': '57', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '3'}, {'ENTITY_ID': '60', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '6'}, {'ENTITY_ID': '61', 'ZONE': 'HAND', 'CONTROLLER': '2', 'ZONE_POSITION': '4'}, {'TEXT': '', 'ENTITY_ID': '64', 'HEALTH': '30', 'LAST_AFFECTED_BY': '51', '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': '19', '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': '97', 'ATTACHED': '17', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}, {'TEXT': '+1/+1.', 'ENTITY_ID': '98', 'ATTACHED': '29', 'ZONE': 'PLAY', 'CONTROLLER': '1', 'CLASS': 'NEUTRAL', 'CARDTYPE': 'ENCHANTMENT'}]

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': 28, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 15, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 8, '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': 29, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_EXHAUSTED_ACTIVATE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 34, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 17, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}]}

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

Outcome:
ENTITY_ID: 2
RESOURCES_USED: 7=>8
ENTITY_ID: 17
ZONE_POSITION: 2=>3
ENTITY_ID: 26
HEALTH: 1=>3
ATK: 1=>3
LAST_AFFECTED_BY: 0=>17
EXHAUSTED: 0=>1
ZONE: HAND=>PLAY
ZONE_POSITION: 5=>2
TEXT: +1/+1.
ENTITY_ID: 100
ATTACHED: 26
ZONE: PLAY
CONTROLLER: 1
CLASS: NEUTRAL
CARDTYPE: ENCHANTMENT
TEXT: +1/+1.
ENTITY_ID: 101
ATTACHED: 26
ZONE: PLAY
CONTROLLER: 1
CLASS: NEUTRAL
CARDTYPE: ENCHANTMENT