Level 3 now much easier.
This commit is contained in:
parent
963bd9676b
commit
7f5352a0e7
|
@ -60,11 +60,11 @@ class Level3(level.Level):
|
||||||
task_size = (5, 5)
|
task_size = (5, 5)
|
||||||
|
|
||||||
# Abstract "boxes", actually colour fields
|
# Abstract "boxes", actually colour fields
|
||||||
boxes = logic.colourboxes.generate_colour_boxes(4, 6)
|
boxes = [box + [(0, 0, 0)] * 2 for box in logic.colourboxes.generate_colour_boxes(2, 3)]
|
||||||
boxes += boxes
|
boxes += [[(0, 0, 0)] * 2 + box for box in logic.colourboxes.generate_colour_boxes(2, 3)]
|
||||||
boxes += [logic.colourboxes.generate_random_box(4) for _ in range(12)]
|
boxes += [logic.colourboxes.generate_random_box(4) for _ in range(9)]
|
||||||
|
boxes += [[(0, 0, 0)] * 4 for _ in range(9)]
|
||||||
random.shuffle(boxes)
|
random.shuffle(boxes)
|
||||||
|
|
||||||
pos_colour = {}
|
pos_colour = {}
|
||||||
for box, (x, y) in zip(boxes, itertools.product(range(6), range(4))):
|
for box, (x, y) in zip(boxes, itertools.product(range(6), range(4))):
|
||||||
self.tiles.append(tile.Tile(self, 64 * (x + task_start[0] + 1),
|
self.tiles.append(tile.Tile(self, 64 * (x + task_start[0] + 1),
|
||||||
|
|
Loading…
Reference in New Issue