Grid iron.
[naja.git] / data / tutorial / tutorial_screen_1.json
1 {"timestamp": "Sat May 17 23:51:34 2014", "data": {"wins_required": 4, "puzzle": false, "player_mode": 2, "locations": [{"card_name": "win1", "max_number": 1, "actions": [{"required_bits": [], "action_class": "LoseHealthOrMSB"}, {"required_bits": ["RED", "GREEN", "BLUE"], "action_class": "AcquireWinToken"}]}, {"card_name": "win2", "max_number": 2, "actions": [{"required_bits": [], "action_class": "LoseHealthOrMSB"}, {"required_bits": ["RED", "GREEN", "BLUE"], "action_class": "AcquireWinTokenAndLoseHealth"}]}, {"card_name": "win3", "max_number": 1, "actions": [{"required_bits": [], "action_class": "LoseHealthOrMSBAndSetBits"}, {"required_bits": ["RED", "GREEN", "BLUE"], "action_class": "AcquireWinToken"}]}, {"card_name": "knight_set", "actions": [{"required_bits": [], "action_class": "GainMSB"}, {"required_bits": ["BLUE"], "action_class": "SetBits"}, {"required_bits": ["RED", "GREEN"], "data": {"chesspiece": "KNIGHT"}, "action_class": "AllowChessMove"}]}, {"card_name": "castle_set", "actions": [{"required_bits": [], "action_class": "GainMSB"}, {"required_bits": ["GREEN"], "action_class": "SetBits"}, {"required_bits": ["RED", "BLUE"], "data": {"chesspiece": "CASTLE"}, "action_class": "AllowChessMove"}]}, {"card_name": "bishop_set", "actions": [{"required_bits": [], "action_class": "GainMSB"}, {"required_bits": ["RED"], "action_class": "SetBits"}, {"required_bits": ["GREEN", "BLUE"], "data": {"chesspiece": "BISHOP"}, "action_class": "AllowChessMove"}]}, {"card_name": "bishop_set_knight", "actions": [{"required_bits": [], "data": {"chesspiece": "BISHOP"}, "action_class": "AllowChessMoveIfMSB"}, {"required_bits": ["BLUE"], "action_class": "SetBits"}, {"required_bits": ["RED", "GREEN"], "data": {"chesspiece": "KNIGHT"}, "action_class": "AllowChessMove"}]}, {"card_name": "knight_set_castle", "actions": [{"required_bits": [], "data": {"chesspiece": "KNIGHT"}, "action_class": "AllowChessMoveIfMSB"}, {"required_bits": ["GREEN"], "action_class": "SetBits"}, {"required_bits": ["RED", "BLUE"], "data": {"chesspiece": "CASTLE"}, "action_class": "AllowChessMove"}]}, {"card_name": "castle_set_bishop", "actions": [{"required_bits": [], "data": {"chesspiece": "CASTLE"}, "action_class": "AllowChessMoveIfMSB"}, {"required_bits": ["RED"], "action_class": "SetBits"}, {"required_bits": ["GREEN", "BLUE"], "data": {"chesspiece": "BISHOP"}, "action_class": "AllowChessMove"}]}, {"card_name": "toggle-rg-r", "bits": ["RED", "GREEN"], "actions": [{"required_bits": [], "action_class": "GainHealthAndClearBitsOrMSB"}, {"required_bits": ["RED"], "action_class": "ToggleBits"}, {"required_bits": ["GREEN", "BLUE"], "action_class": "SetBits"}]}, {"card_name": "toggle-rg-g", "bits": ["RED", "GREEN"], "actions": [{"required_bits": [], "action_class": "GainHealthAndClearBitsOrMSB"}, {"required_bits": ["GREEN"], "action_class": "ToggleBits"}, {"required_bits": ["RED", "BLUE"], "action_class": "SetBits"}]}, {"card_name": "shift-n-heal", "actions": [{"required_bits": [], "action_class": "ToggleBits"}, {"required_bits": ["BLUE"], "data": {"direction": "NORTH"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "GREEN"], "action_class": "GainHealth"}]}, {"card_name": "shift-s-heal", "actions": [{"required_bits": [], "action_class": "ToggleBits"}, {"required_bits": ["BLUE"], "data": {"direction": "SOUTH"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "GREEN"], "action_class": "GainHealth"}]}, {"card_name": "shift-e-heal", "actions": [{"required_bits": [], "action_class": "ToggleBits"}, {"required_bits": ["GREEN"], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "BLUE"], "action_class": "GainHealth"}]}, {"card_name": "shift-w-heal", "actions": [{"required_bits": [], "action_class": "ToggleBits"}, {"required_bits": ["GREEN"], "data": {"direction": "WEST"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "BLUE"], "action_class": "GainHealth"}]}, {"card_name": "shift-n-harm", "actions": [{"required_bits": [], "action_class": "ToggleBitsAndHarm"}, {"required_bits": ["BLUE"], "data": {"direction": "NORTH"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "GREEN"], "action_class": "GainHealth"}]}, {"card_name": "shift-s-harm", "actions": [{"required_bits": [], "action_class": "ToggleBitsAndHarm"}, {"required_bits": ["BLUE"], "data": {"direction": "SOUTH"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "GREEN"], "action_class": "GainHealth"}]}, {"card_name": "shift-e-harm", "actions": [{"required_bits": [], "action_class": "ToggleBitsAndHarm"}, {"required_bits": ["GREEN"], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "BLUE"], "action_class": "GainHealth"}]}, {"card_name": "shift-w-harm", "actions": [{"required_bits": [], "action_class": "ToggleBitsAndHarm"}, {"required_bits": ["GREEN"], "data": {"direction": "WEST"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "BLUE"], "action_class": "GainHealth"}]}, {"card_name": "shift-e-bitshift", "actions": [{"required_bits": ["GREEN"], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": ["GREEN", "BLUE"], "data": {"shift": 1, "direction": "right"}, "action_class": "ShiftBits"}]}, {"card_name": "shift-w-bitshift", "actions": [{"required_bits": ["GREEN"], "data": {"direction": "WEST"}, "action_class": "ShiftLocations"}, {"required_bits": ["RED", "BLUE"], "data": {"shift": 1, "direction": "left"}, "action_class": "ShiftBits"}]}, {"card_name": "rot-cw-set", "actions": [{"required_bits": [], "action_class": "ToggleBits"}, {"required_bits": ["RED"], "data": {"rot_direction": "CLOCKWISE"}, "action_class": "RotateLocations"}, {"required_bits": ["BLUE"], "action_class": "SetBits"}]}, {"card_name": "rot-ccw-set", "actions": [{"required_bits": [], "action_class": "ToggleBits"}, {"required_bits": ["RED"], "data": {"rot_direction": "ANTICLOCKWISE"}, "action_class": "RotateLocations"}, {"required_bits": ["GREEN"], "action_class": "SetBits"}]}, {"card_name": "mean-card", "actions": [{"required_bits": [], "action_class": "LoseHealthOrMSB"}]}, {"card_name": "mean-card", "actions": [{"required_bits": [], "action_class": "ClearBitsAndHealth"}, {"required_bits": ["RED"], "action_class": "LoseHealthOrMSB"}]}], "player": {"position": [0, 3], "movement_mode": 0, "bits": 184}, "max_health": 4, "clock_count": 5, "replacement_params": {"max": 8, "chance": 0.2, "min": 4}, "wins": 0, "board_locations": [[[0, 0], {"replacement_time": null, "max_number": 25, "bitwise_operand": [3, 4], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBitsAndHarm"}, {"required_bits": [4], "data": {"direction": "SOUTH"}, "action_class": "ShiftLocations"}, {"required_bits": [5, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-s-harm"}], [[0, 1], {"replacement_time": null, "max_number": 25, "bitwise_operand": [0, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "ClearBitsAndHealth"}, {"required_bits": [6], "data": {}, "action_class": "LoseHealthOrMSB"}], "card_name": "mean-card"}], [[0, 2], {"replacement_time": null, "max_number": 25, "bitwise_operand": [5, 6], "actions": [{"required_bits": [], "data": {}, "action_class": "GainHealthAndClearBitsOrMSB"}, {"required_bits": [5], "data": {}, "action_class": "ToggleBits"}, {"required_bits": [4, 6], "data": {}, "action_class": "SetBits"}], "card_name": "toggle-rg-g"}], [[0, 3], {"replacement_time": null, "max_number": 25, "bitwise_operand": [0, 3, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBits"}, {"required_bits": [5], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": [4, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-e-heal"}], [[0, 4], {"replacement_time": null, "max_number": 25, "bitwise_operand": [1, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBitsAndHarm"}, {"required_bits": [4], "data": {"direction": "SOUTH"}, "action_class": "ShiftLocations"}, {"required_bits": [5, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-s-harm"}], [[1, 0], {"replacement_time": null, "max_number": 25, "bitwise_operand": [3, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBitsAndHarm"}, {"required_bits": [5], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": [4, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-e-harm"}], [[1, 1], {"replacement_time": 2, "max_number": 25, "bitwise_operand": [0, 5], "actions": [{"required_bits": [], "data": {"chesspiece": "BISHOP"}, "action_class": "AllowChessMoveIfMSB"}, {"required_bits": [4], "data": {}, "action_class": "SetBits"}, {"required_bits": [5, 6], "data": {"chesspiece": "KNIGHT"}, "action_class": "AllowChessMove"}], "card_name": "bishop_set_knight"}], [[1, 2], {"replacement_time": null, "max_number": 25, "bitwise_operand": [2, 6], "actions": [{"required_bits": [], "data": {}, "action_class": "GainMSB"}, {"required_bits": [4], "data": {}, "action_class": "SetBits"}, {"required_bits": [5, 6], "data": {"chesspiece": "KNIGHT"}, "action_class": "AllowChessMove"}], "card_name": "knight_set"}], [[1, 3], {"replacement_time": null, "max_number": 25, "bitwise_operand": [2, 6], "actions": [{"required_bits": [], "data": {}, "action_class": "ClearBitsAndHealth"}, {"required_bits": [6], "data": {}, "action_class": "LoseHealthOrMSB"}], "card_name": "mean-card"}], [[1, 4], {"replacement_time": 2, "max_number": 25, "bitwise_operand": [1, 4, 6], "actions": [{"required_bits": [], "data": {}, "action_class": "DoNothing"}, {"required_bits": [5], "data": {"direction": "WEST"}, "action_class": "ShiftLocations"}, {"required_bits": [4, 6], "data": {"shift": 1, "direction": "left"}, "action_class": "ShiftBits"}], "card_name": "shift-w-bitshift"}], [[2, 0], {"replacement_time": null, "max_number": 25, "bitwise_operand": [3, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBitsAndHarm"}, {"required_bits": [4], "data": {"direction": "NORTH"}, "action_class": "ShiftLocations"}, {"required_bits": [5, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-n-harm"}], [[2, 1], {"replacement_time": null, "max_number": 25, "bitwise_operand": [3, 7], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBitsAndHarm"}, {"required_bits": [5], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": [4, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-e-harm"}], [[2, 2], {"replacement_time": null, "max_number": 25, "bitwise_operand": [1, 4, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "GainMSB"}, {"required_bits": [5], "data": {}, "action_class": "SetBits"}, {"required_bits": [4, 6], "data": {"chesspiece": "CASTLE"}, "action_class": "AllowChessMove"}], "card_name": "castle_set"}], [[2, 3], {"replacement_time": 2, "max_number": 25, "bitwise_operand": [3, 4], "actions": [{"required_bits": [], "data": {}, "action_class": "GainMSB"}, {"required_bits": [4], "data": {}, "action_class": "SetBits"}, {"required_bits": [5, 6], "data": {"chesspiece": "KNIGHT"}, "action_class": "AllowChessMove"}], "card_name": "knight_set"}], [[2, 4], {"replacement_time": null, "max_number": 25, "bitwise_operand": [2, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBits"}, {"required_bits": [5], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": [4, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-e-heal"}], [[3, 0], {"replacement_time": null, "max_number": 25, "bitwise_operand": [2, 3, 6], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBitsAndHarm"}, {"required_bits": [4], "data": {"direction": "NORTH"}, "action_class": "ShiftLocations"}, {"required_bits": [5, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-n-harm"}], [[3, 1], {"replacement_time": null, "max_number": 25, "bitwise_operand": [5, 6], "actions": [{"required_bits": [], "data": {}, "action_class": "GainHealthAndClearBitsOrMSB"}, {"required_bits": [6], "data": {}, "action_class": "ToggleBits"}, {"required_bits": [4, 5], "data": {}, "action_class": "SetBits"}], "card_name": "toggle-rg-r"}], [[3, 2], {"replacement_time": null, "max_number": 25, "bitwise_operand": [1, 4], "actions": [{"required_bits": [], "data": {}, "action_class": "DoNothing"}, {"required_bits": [5], "data": {"direction": "EAST"}, "action_class": "ShiftLocations"}, {"required_bits": [4, 5], "data": {"shift": 1, "direction": "right"}, "action_class": "ShiftBits"}], "card_name": "shift-e-bitshift"}], [[3, 3], {"replacement_time": null, "max_number": 25, "bitwise_operand": [1, 6], "actions": [{"required_bits": [], "data": {"chesspiece": "CASTLE"}, "action_class": "AllowChessMoveIfMSB"}, {"required_bits": [6], "data": {}, "action_class": "SetBits"}, {"required_bits": [4, 5], "data": {"chesspiece": "BISHOP"}, "action_class": "AllowChessMove"}], "card_name": "castle_set_bishop"}], [[3, 4], {"replacement_time": null, "max_number": 25, "bitwise_operand": [0, 5], "actions": [{"required_bits": [], "data": {}, "action_class": "ClearBitsAndHealth"}, {"required_bits": [6], "data": {}, "action_class": "LoseHealthOrMSB"}], "card_name": "mean-card"}], [[4, 0], {"replacement_time": null, "max_number": 25, "bitwise_operand": [0, 7], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBits"}, {"required_bits": [6], "data": {"rot_direction": "CLOCKWISE"}, "action_class": "RotateLocations"}, {"required_bits": [4], "data": {}, "action_class": "SetBits"}], "card_name": "rot-cw-set"}], [[4, 1], {"replacement_time": null, "max_number": 25, "bitwise_operand": [1, 7], "actions": [{"required_bits": [], "data": {}, "action_class": "ToggleBitsAndHarm"}, {"required_bits": [4], "data": {"direction": "SOUTH"}, "action_class": "ShiftLocations"}, {"required_bits": [5, 6], "data": {}, "action_class": "GainHealth"}], "card_name": "shift-s-harm"}], [[4, 2], {"replacement_time": null, "max_number": 1, "bitwise_operand": [1, 2, 6], "actions": [{"required_bits": [], "data": {}, "action_class": "LoseHealthOrMSBAndSetBits"}, {"required_bits": [4, 5, 6], "data": {}, "action_class": "AcquireWinToken"}], "card_name": "win3"}], [[4, 3], {"replacement_time": null, "max_number": 25, "bitwise_operand": [3, 4], "actions": [{"required_bits": [], "data": {"chesspiece": "BISHOP"}, "action_class": "AllowChessMoveIfMSB"}, {"required_bits": [4], "data": {}, "action_class": "SetBits"}, {"required_bits": [5, 6], "data": {"chesspiece": "KNIGHT"}, "action_class": "AllowChessMove"}], "card_name": "bishop_set_knight"}], [[4, 4], {"replacement_time": null, "max_number": 25, "bitwise_operand": [1, 5, 6], "actions": [{"required_bits": [], "data": {"chesspiece": "CASTLE"}, "action_class": "AllowChessMoveIfMSB"}, {"required_bits": [6], "data": {}, "action_class": "SetBits"}, {"required_bits": [4, 5], "data": {"chesspiece": "BISHOP"}, "action_class": "AllowChessMove"}], "card_name": "castle_set_bishop"}]], "cheater": true, "health": 3}}