Hearthstone game state:
ENTITY_ID: 1
ZONE: PLAY
CARDTYPE: GAME
STATE: 2
ENTITY_ID: 2
PLAYSTATE: PLAYING
RESOURCES: 1
HERO_ENTITY: 64
MAXHANDSIZE: 10
PLAYER_ID: 1
ZONE: PLAY
CONTROLLER: 1
CARDTYPE: PLAYER
ENTITY_ID: 3
PLAYSTATE: PLAYING
RESOURCES: 1
HERO_ENTITY: 66
MAXHANDSIZE: 10
PLAYER_ID: 2
ZONE: PLAY
CONTROLLER: 2
CARDTYPE: PLAYER
TEXT: <b>Reborn</b>
ENTITY_ID: 14
HEALTH: 1
ATK: 1
COST: 1
ZONE: HAND
CONTROLLER: 1
REBORN: 1
CLASS: NEUTRAL
CARDRACE: 14
CARDTYPE: MINION
ZONE_POSITION: 3
TEXT: After a friendly Undead dies, draw a card.
ENTITY_ID: 19
HEALTH: 4
ATK: 2
COST: 3
ZONE: HAND
CONTROLLER: 1
CLASS: DEATHKNIGHT
CARDTYPE: MINION
ZONE_POSITION: 2
TEXT: Give all minions in your hand +1/+1.
Spend 2 <b>Corpses</b> to give them +1/+1 more.
ENTITY_ID: 20
COST: 2
ZONE: HAND
CONTROLLER: 1
CLASS: DEATHKNIGHT
CARDTYPE: SPELL
ZONE_POSITION: 1
TEXT: Deal $2 damage to all enemies. Draw a card.
ENTITY_ID: 22
COST: 4
ZONE: HAND
CONTROLLER: 1
CLASS: DEATHKNIGHT
CARDTYPE: SPELL
ZONE_POSITION: 6
TEXT: <b>Battlecry</b>: Gain a <b>Corpse</b>.
ENTITY_ID: 23
HEALTH: 3
ATK: 1
COST: 1
ZONE: HAND
CONTROLLER: 1
CLASS: DEATHKNIGHT
CARDRACE: 11
CARDTYPE: MINION
BATTLECRY: 1
ZONE_POSITION: 4
ENTITY_ID: 38
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 1
ENTITY_ID: 44
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 2
ENTITY_ID: 56
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 4
ENTITY_ID: 60
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 3
ENTITY_ID: 64
HEALTH: 30
ZONE: PLAY
CONTROLLER: 1
CLASS: DEATHKNIGHT
CARDTYPE: HERO
TEXT: [x]<b>Hero Power</b>
Summon a 1/1 Ghoul
with <b>Charge</b>. It dies at
end of turn.
ENTITY_ID: 65
COST: 2
ZONE: PLAY
CONTROLLER: 1
CLASS: DEATHKNIGHT
CARDTYPE: HERO_POWER
ENTITY_ID: 66
HEALTH: 30
ZONE: PLAY
CONTROLLER: 2
CLASS: WARLOCK
CARDTYPE: HERO
TEXT: <b>Hero Power</b>
Draw a card and take $2_damage.
ENTITY_ID: 67
COST: 2
ZONE: PLAY
CONTROLLER: 2
CLASS: WARLOCK
CARDTYPE: HERO_POWER
TEXT: Gain 1 Mana Crystal this turn only.
ENTITY_ID: 68
ZONE: HAND
CONTROLLER: 1
CLASS: NEUTRAL
CARDTYPE: SPELL
ZONE_POSITION: 5

Available options:
{'ID': 2, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 23, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 68, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 14, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 20, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 19, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_ENOUGH_MANA', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 22, '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': []}]}

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

Outcome:
ENTITY_ID: 2
TEMP_RESOURCES: 0=>1
ENTITY_ID: 22
ZONE_POSITION: 6=>5