Added one extra degree of randomness to the puzzle generation.
This commit is contained in:
parent
d192510814
commit
532bdb0f3c
|
@ -509,6 +509,11 @@ class Level1(level.Level):
|
||||||
self.objects.append(
|
self.objects.append(
|
||||||
CompletionBlock(self, 64 * (door_x - 5 + i), 48 * 4,
|
CompletionBlock(self, 64 * (door_x - 5 + i), 48 * 4,
|
||||||
self.solution[i], i + 1))
|
self.solution[i], i + 1))
|
||||||
|
else:
|
||||||
|
for i in range(3):
|
||||||
|
self.objects.append(
|
||||||
|
CompletionBlock(self, 64 * (door_x - 3 - i), 48 * 4,
|
||||||
|
self.solution[i], i + 1))
|
||||||
|
|
||||||
# DRAW THE BACKGROUND
|
# DRAW THE BACKGROUND
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue