Hearthstone game state:
ENTITY_ID: 1
ZONE: PLAY
CARDTYPE: GAME
STATE: 2
ENTITY_ID: 2
PLAYSTATE: PLAYING
LAST_AFFECTED_BY: 31
RESOURCES_USED: 4
RESOURCES: 6
HERO_ENTITY: 64
MAXHANDSIZE: 10
PLAYER_ID: 1
ZONE: PLAY
CONTROLLER: 1
CARDTYPE: PLAYER
ENTITY_ID: 3
PLAYSTATE: PLAYING
RESOURCES_USED: 5
RESOURCES: 6
HERO_ENTITY: 66
MAXHANDSIZE: 10
PLAYER_ID: 2
ZONE: PLAY
CONTROLLER: 2
CARDTYPE: PLAYER
TEXT: Swap your Hero Power to "Deal 5 damage." After 2 uses, swap it back.
ENTITY_ID: 12
COST: 4
ZONE: HAND
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: SPELL
ZONE_POSITION: 1
TEXT: <b>Lifesteal</b>
ENTITY_ID: 13
ATK: 2
COST: 3
LAST_AFFECTED_BY: 2
DAMAGE: 1
ZONE: PLAY
CONTROLLER: 1
DURABILITY: 2
LIFESTEAL: 1
CLASS: DEMONHUNTER
CARDTYPE: WEAPON
TEXT: [x]Draw a card.
<b>Outcast:</b> Draw another.
ENTITY_ID: 18
COST: 2
ZONE: HAND
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: SPELL
ZONE_POSITION: 2
TEXT: Summon seven 1/1 Illidari with <b>Rush</b>. If_they all die this turn, summon seven more.
ENTITY_ID: 20
COST: 7
ZONE: HAND
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: SPELL
ZONE_POSITION: 3
TEXT: <b>Outcast:</b> Draw a card.
ENTITY_ID: 22
HEALTH: 1
ATK: 1
COST: 1
ZONE: PLAY
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: MINION
ZONE_POSITION: 2
CARD_TARGET: 66
TEXT: Give your hero +2_Attack this turn. Draw a card.
ENTITY_ID: 26
COST: 2
ZONE: HAND
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: SPELL
ZONE_POSITION: 4
TEXT: After your hero attacks, gain +1 Attack.
ENTITY_ID: 27
HEALTH: 3
ATK: 1
ZONE: HAND
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDRACE: 15
CARDTYPE: MINION
ZONE_POSITION: 5
TEXT: <b>Battlecry:</b> The next Demon you play costs (2) less.
ENTITY_ID: 31
HEALTH: 4
ATK: 4
COST: 4
EXHAUSTED: 1
ZONE: PLAY
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: MINION
BATTLECRY: 1
ZONE_POSITION: 1
ENTITY_ID: 37
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 3
TEXT: Whenever this minion takes damage, gain +3_Attack.
ENTITY_ID: 39
HEALTH: 8
ATK: 2
COST: 5
EXHAUSTED: 1
ZONE: PLAY
CONTROLLER: 2
CLASS: NEUTRAL
CARDTYPE: MINION
ZONE_POSITION: 1
ENTITY_ID: 41
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 2
ENTITY_ID: 53
ZONE: HAND
CONTROLLER: 2
ZONE_POSITION: 1
ENTITY_ID: 64
HEALTH: 30
ATK: 2
LAST_AFFECTED_BY: 91
ZONE: PLAY
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: HERO
CARD_TARGET: 66
TEXT: [x]<b>Hero Power</b>
+$a1 Attack this turn.
ENTITY_ID: 65
COST: 1
ZONE: PLAY
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: HERO_POWER
ENTITY_ID: 66
HEALTH: 30
LAST_AFFECTED_BY: 64
DAMAGE: 8
ZONE: PLAY
CONTROLLER: 2
CLASS: WARRIOR
CARDTYPE: HERO
CARD_TARGET: 16
TEXT: <b>Hero Power</b>
Gain $d2 Armor.
ENTITY_ID: 67
COST: 2
ZONE: PLAY
CONTROLLER: 2
CLASS: WARRIOR
CARDTYPE: HERO_POWER
TEXT: Your next Demon costs (2) less. 
ENTITY_ID: 100
ATTACHED: 2
ZONE: PLAY
CONTROLLER: 1
CLASS: DEMONHUNTER
CARDTYPE: ENCHANTMENT

Available options:
{'ID': 42, 'List': [{'Type': 'END_TURN', 'Main': {'ID': 0, 'Targets': None, 'PlayErrorInfo': {'PlayError': 'INVALID', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 18, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 26, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 27, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 64, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 39, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 22, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 31, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_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': 22, 'Targets': [{'ID': 66, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 39, 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, {'ID': 64, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 22, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}, {'ID': 31, 'PlayErrorInfo': {'PlayError': 'REQ_ENEMY_TARGET', 'PlayErrorParam': None}}], 'PlayErrorInfo': {'PlayError': 'NONE', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 12, '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': 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': 39, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_YOUR_TURN', 'PlayErrorParam': None}}, 'Subs': []}, {'Type': 'POWER', 'Main': {'ID': 31, 'Targets': [], 'PlayErrorInfo': {'PlayError': 'REQ_NOT_MINION_JUST_PLAYED', 'PlayErrorParam': None}}, 'Subs': []}]}

Chosen action:
HasSubOption: yes
HasPosition: yes
Id: 42
Index: 6
Target: 66
SubOption: -1
Position: 0

Outcome:
ENTITY_ID: 22
EXHAUSTED: 0=>1
NUM_ATTACKS_THIS_TURN: 0=>1
ENTITY_ID: 66
LAST_AFFECTED_BY: 64=>22
DAMAGE: 8=>9