Ejemplo n.º 1
0
def dim1():
    cls()
    print(
        col.green(
            "You are a time traveling interdimensional being\nYou were captured, and to escape you need to make your way through a maze.\nThere is a portal at the end of each maze.\nA "
        ) + col.bblue("blue ") +
        col.green("portal will take you to the next level.\nA ") +
        col.byellow("yellow ") + col.green(
            "portal will take you to the next dimension\nThat is all you need to know for now. You will learn everything else later\nGood Luck!"
        ))
    raw_input(col.red('Press Enter to Continue'))
    cls()

    print(
        col.green(
            "Please place and click your mouse in the window to continue."))

    display = pygame.display.set_mode((60, 60))
    display.fill((255, 255, 0))

    exit = False
    while not exit:
        for event in pygame.event.get():
            if event.type == pygame.MOUSEBUTTONDOWN:
                exit = True

    mainLoop([1, 0])
Ejemplo n.º 2
0
def l30intro():
    cls()
    print(
        col.green(
            "Now for the confusing part...\nFor each Y position (Up and down) there will/won't be dashes above and bellow the maze\nThese tell you if you can move back and forth between the layers\nIf the dash is above the maze then the available spot is one layer down and\nif it is below the maze then there is an available spot is one layer up"
        ))
    print(col.red('Press j to continue'))
    exit = False
    while not exit:
        for event in pygame.event.get():
            if event.type == pygame.KEYDOWN:
                if event.key == pygame.K_j:
                    exit = True
Ejemplo n.º 3
0
def level10():
    array = [[[[['H','red'],SPACE,SPACE,SPACE,['O','bblue']]]]]
    goal = [4,0,0,0]
    coordinates = [0,0,0,0]
    special = (col.green("Press") + col.red(" A") + col.green(" and") + col.red(" D") + col.green(" to move left and right"))
    return [array,goal,coordinates,'lvl',special]
Ejemplo n.º 4
0
def level40():
    array = [[[[['H','red'],BLANK],[SPACE,BLANK]],[[BLANK,BLANK],[SPACE,SPACE]]],[[[BLANK,BLANK],[BLANK,SPACE]],[[BLANK,BLANK],[BLANK,SPACE]]],[[[['O','bblue'],['*','red']],[BLANK,BLANK]],[[BLANK,SPACE],[BLANK,SPACE]]]]
    goal = [0,0,0,2]
    coordinates = [0,0,0,0]
    special = (col.green("Press") + col.red(' Q') + col.green(' and') + col.red(' E') + col.green(' to move back and fourth in the fourth dimension'))
    return [array,goal,coordinates,'lvl',special]
Ejemplo n.º 5
0
def level30():
    array = [[[[['H','red'],BLANK,BLANK],[SPACE,BLANK,SPACE],[BLANK,BLANK,['O','blue']]],[[BLANK,SPACE,SPACE],[SPACE,BLANK,SPACE],[SPACE,SPACE,BLANK]],[[BLANK,SPACE,BLANK],[BLANK,SPACE,BLANK],[BLANK,SPACE,BLANK]]]]
    goal = [2,2,0,0]
    coordinates = [0,0,0,0]
    special = (col.green("Press")+col.red(' R ')+col.green('and')+col.red(' F ')+col.green('to go back and fourth in the 3rd Dimension'))
    return [array,goal,coordinates,'lvl',special]
Ejemplo n.º 6
0
def level11():
    array = [[[[['H','red']],[SPACE],[SPACE],[SPACE],[['O','byellow']]]]]
    goal = [0,4,0,0]
    coordinates = [0,0,0,0]
    special = (col.green("Press") + col.red(" W") + col.green(" and") + col.red(" S") + col.green(" to move up and down"))
    return [array,goal,coordinates,'dim',special]