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)
|
||||
|
||||
# Abstract "boxes", actually colour fields
|
||||
boxes = logic.colourboxes.generate_colour_boxes(4, 6)
|
||||
boxes += boxes
|
||||
boxes += [logic.colourboxes.generate_random_box(4) for _ in range(12)]
|
||||
boxes = [box + [(0, 0, 0)] * 2 for box in logic.colourboxes.generate_colour_boxes(2, 3)]
|
||||
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(9)]
|
||||
boxes += [[(0, 0, 0)] * 4 for _ in range(9)]
|
||||
random.shuffle(boxes)
|
||||
|
||||
pos_colour = {}
|
||||
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),
|
||||
|
|
Loading…
Reference in New Issue