Skip to content

Commit

Permalink
Update mazeofdoom.py
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmmalik authored May 3, 2019
1 parent ee4a9c0 commit bb9d765
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mazeofdoom.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

LENGTH = 0.1

LEVELS = ["##########\n#...&....#\n####.....#\n#..#...###\n#..##.####\n#..O#....#\n#.###.####\n#.#...#$$#\n#.....#$$#\n##########", "##########\n##.O##..$#\n##.##..###\n##.##.####\n##.##....#\n#...#....#\n#.#.#.#.##\n#.#.#.#..#\n#.#...#.&#\n##########", "##########\n##......##\n###....###\n######.###\n#..O..#..#\n###%###..#\n#..&...#.#\n###%.###.#\n#....#####\n##########", "##########\n#%%.....O#\n#%%.%%%%%#\n#%%%.%%%%#\n#%%&%%%%%#\n#%%.%%%%%#\n#%.%%%%%%#\n#.%%%%%%%#\n#.%%%%%%%#\n##########", "##########\n#%%%%%%%O#\n#$%.%...%#\n#%...%.%##\n#%.#######\n###...####\n####.#####\n##.#....&#\n#.#.######\n##########"]
LEVELS = ["##########\n#...&....#\n####.....#\n#..#...###\n#..##.####\n#..O#....#\n#.###.####\n#.#...#$$#\n#.....#$$#\n##########", "##########\n##.O##..$#\n##.##..###\n##.##.####\n##.##....#\n#...#....#\n#.#.#.#.##\n#.#.#.#..#\n#.#...#.&#\n##########", "##########\n##......##\n###....###\n######.###\n#..O..#..#\n###%###..#\n#..&...#.#\n###%.###.#\n#....#####\n##########", "##########\n#%%.....O#\n#%%.%%%%%#\n#%%%.%%%%#\n#%%&%%%%%#\n#%%.%%%%%#\n#%.%%%%%%#\n#.%%%%%%%#\n#.%%%%%%%#\n##########", "##########\n#%%%%%%%O#\n#$%.%...%#\n#%...%.%##\n#%.#######\n###...####\n####.#####\n##.#....&#\n#.#.######\n##########", "##########\n#%.....%$#\n#.%.#%.%.#\n#..%#..%.#\n#&..#.%..#\n#####%.%%#\n#..%#.#..#\n#.%.#.#..#\n#.O...#$.#\n##########", "##########\n#.......&#\n#.######.#\n#.######.#\n#.###.##.#\n#.####.#.#\n#.###.##.#\n#.#..###.#\n#O.......#\n##########", "##########\n#.......O#\n########.#\n#......#.#\n#.####.#.#\n#.#&.#.#.#\n#.#....#.#\n#.######.#\n#........#\n##########", "##########\n#%.%#%.%.#\n#.#.#.#..#\n#.#.#.#..#\n#.#.#.#..#\n#.#.#.#..#\n#.#.#.#..#\n#.#.#.#&.#\n#.#%.%#O.#\n##########", "##########\n#........#\n#.#...#..#\n#.##.##..#\n#.#.#.#..#\n#.#...#..#\n#.#...#..#\n#.#...#..#\n#.#$&$#.O#\n##########"]
ST_P = [89, 89, 89, 89, 89, 89, 49, 13, 89, 89]

def add_player(lst):
level = list(lst)
Expand Down Expand Up @@ -53,7 +54,7 @@ def add_dot(lst, pos):
for i in range(len(LEVELS)):
key = False
leveladv = False
player_pos = 89
player_pos = ST_P[i]
system("cls")
LEVELS[i] = add_player(LEVELS[i])
print("Floor #" + str(i + 1) + " | $" + str(coins))
Expand Down

0 comments on commit bb9d765

Please sign in to comment.