window.LEVELS = [];

window.LEVELS.push({
    locked :                false,
    solved :                false,
    hint  :                 "Click on a penguin and select the arrow to let it move towards the other penguin.",
    nrPairs  :              1,
    hint_arrow_x :          4,
    hint_arrow_y :          3,
    hint_arrow_direction :  3,
    tiles :                ["#########",
                            "#.......#",
                            "#...r...#",
                            "#.......#",
                            "#.......#",
                            "#.......#",
                            "#...r...#",
                            "#.......#",
                            "#########"]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Don't let the penguins fall in the water!",
    nrPairs  :              1,
    hint_arrow_x :          3,
    hint_arrow_y :          1,
    hint_arrow_direction :  2,
    tiles :                ["#.......#",
                            "#...r...#",
                            "#.......#",
                            "#.     .#",
                            "#.     .#",
                            "#.     .#",
                            "#.......#",
                            "#...r...#",
                            "#.......#"]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "The order in which you move the penguins matters.",
    nrPairs  :              1,
    hint_arrow_x :          8,
    hint_arrow_y :          1,
    hint_arrow_direction :  2,
    tiles :                ["    #######",
                            "    #....r.",
                            "    #.#####",
                            "    #.#    ",
                            "    #.#    ",
                            "#####.#####",
                            ".r.........",
                            "###########"]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Create multiple pairs. The number of required pairs is indicated at the top.",
    nrPairs  :              5,
    hint_arrow_x :          2,
    hint_arrow_y :          1,
    hint_arrow_direction :  3,
    tiles :                ["..y....",
                            ".y...y.",
                            ".......",
                            ".y...y.",
                            "..y.y..",
                            ".......",
                            ".y.....",
                            ".....y.",
                            "..y...."]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Pair each penguin with a similar one.",
    nrPairs  :              2,
    hint_arrow_x :          5,
    hint_arrow_y :          6,
    hint_arrow_direction :  1,
    tiles :                [".......",
                            ".b...b.",
                            ".......",
                            ".r.....",
                            ".......",
                            ".......",
                            ".......",
                            ".....r.",
                            "......."]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Animals sometimes must be sacrificed to arrange all required pairs.",
    nrPairs  :              2,
    hint_arrow_x :          1,
    hint_arrow_y :          4,
    hint_arrow_direction :  2,
    tiles :                [" ...  ",
                            "..r.. ",
                            "..... ",
                            "..b..*",
                            "..g.. ",
                            "..b..*",
                            "..... ",
                            "..r.. ",
                            " ...  "]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Multi-colored penguins pair with any penguin.",
    nrPairs  :              2,
    hint_arrow_x :          4,
    hint_arrow_y :          3,
    hint_arrow_direction :  0,
    tiles :                ["  ...  ",
                            " ..r.. ",
                            " ..... ",
                            " ..b..#",
                            "#..m.. ",
                            " ..b..#",
                            " ..... ",
                            " ..g.. ",
                            "  ...  "]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Use the seals to stop the penguins from moving.",
    nrPairs  :              1,
    hint_arrow_x :          5,
    hint_arrow_y :          4,
    hint_arrow_direction :  1,
    tiles :                [".......",
                            ".....x.",
                            ".x.x...",
                            ".......",
                            "...x...",
                            ".....b.",
                            ".......",
                            "..b....",
                            "......."]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Use all the penguins to pair the blue penguins.",
    nrPairs  :              1,
    hint_arrow_x :          4,
    hint_arrow_y :          1,
    hint_arrow_direction :  2,
    tiles :                [".......",
                            ".g...r.",
                            ".......",
                            ".....b.",
                            ".......",
                            ".y...p.",
                            ".......",
                            "...b...",
                            "......."]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "The penguin in the hole cannot move.",
    nrPairs  :              1,
    hint_arrow_x :          5,
    hint_arrow_y :          2,
    hint_arrow_direction :  1,
    tiles :                [".......",
                            ".....x.",
                            ".x.....",
                            ".....x.",
                            ".......",
                            ".x...r.",
                            "..x....",
                            "...R...",
                            "......."]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Catch the penguin in the hole.",
    nrPairs  :              1,
    hint_arrow_x :          5,
    hint_arrow_y :          4,
    hint_arrow_direction :  3,
    tiles :                [".......",
                            ".......",
                            ".......",
                            ".r..Xx.",
                            ".......",
                            ".......",
                            ".......",
                            "...r...",
                            ".....x."]
});

window.LEVELS.push({
    locked :                true,
    solved :                false,
    hint  :                 "Use the seals to get the sharks out of the way in order to make the pair.",
    nrPairs  :              1,
    hint_arrow_x :          5,
    hint_arrow_y :          4,
    hint_arrow_direction :  3,
    tiles :                [".......",
                            "...p...",
                            ".......",
                            ".x.@.x.",
                            "...@...",
                            "...@...",
                            ".@...x.",
                            ".x.p...",
                            "......."]
});