player_moves1 = ['l', 'r'] + ['l'] * 11 + ['r'] * 12 + ['l'] * 18 + ['r', 'r', 'r', 'r', 'r', 'u', 'u', 'l', 'l'] + [
    'u'] * 8
enemy_moves1 = ['r'] * 15 + ['u'] * 10


def create_player_moves():
    return player_moves1


def create_enemy_moves():
    return enemy_moves1


def create_platforms(size_x, size_y):
    platforms = []

    for x in range(size_x // 2 - 3):
        platforms.append((x, 3))

    for x in range(size_x // 2 - 1, size_y):
        platforms.append((x, 5))

    for x in range(size_x // 5):
        platforms.append((x, x + 6))
        platforms.append((size_y - x + 4, x + 6))
        platforms.append((size_y - x + 3, x + 6))
        platforms.append((size_y - x + 2, x + 6))
        platforms.append((size_y - x + 1, x + 6))

    for x in range(size_x):
        platforms.append((x, 9))
        platforms.append((x, 1))

    for y in range(size_y - 1):
        platforms.append((3, y))
        platforms.append((15, y))

    for y in range(2 * size_y // 3, size_y):
        platforms.append((8, y))

    return platforms


def create_ladders(size_y):
    return []
