Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
1024Adam committed Mar 18, 2017
1 parent 19edf66 commit e941fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infinite_maze/Line.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def generateMaze(game, width, height):
lines.append(Line((xPos, yPos), (xPos, yPos + 22), sideA, sideB))
sideA = sideB
sideB += 19


# Create 'maze' structure (will be complete when all 'cells' are connected to each other)
sets = []
length = len(lines)
while (len(sets) != 1):
length = len(lines)
lineNum = randint(0, length - 1)
Expand Down

0 comments on commit e941fea

Please sign in to comment.