Compare commits

...

2 Commits

Author SHA1 Message Date
Sam
bce07db40e adjust mutation rate
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 1m7s
2025-06-25 00:34:21 -05:00
Sam
0d95e85d83 remove debug print 2025-06-25 00:32:20 -05:00
2 changed files with 2 additions and 4 deletions

View File

@ -315,10 +315,10 @@ class DefaultCell(BaseEntity):
duplicate_y_2 += random.randint(-self.max_visual_width, self.max_visual_width)
new_cell = DefaultCell(Position(x=int(duplicate_x), y=int(duplicate_y)), Rotation(angle=random.randint(0, 359)))
new_cell.set_brain(self.behavioral_model.mutate(0.025))
new_cell.set_brain(self.behavioral_model.mutate(0.05))
new_cell_2 = DefaultCell(Position(x=int(duplicate_x_2), y=int(duplicate_y_2)), Rotation(angle=random.randint(0, 359)))
new_cell_2.set_brain(self.behavioral_model.mutate(0.025))
new_cell_2.set_brain(self.behavioral_model.mutate(0.05))
return [new_cell, new_cell_2]

View File

@ -162,8 +162,6 @@ class World:
"""
Advances all objects in the world by one tick, updating their state and handling interactions.
"""
print("Ticking all objects in the world")
next_buffer: int = 1 - self.current_buffer
self.buffers[next_buffer].clear()