Compare commits

..

No commits in common. "22406420c217432d6df05b19c1400cb19eee1915" and "8bb5c3edfcd4b8fbc45d2bafd63bcd1d4042d2d8" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ class SimulationEngine:
y = random.randint(-half_height // 2, half_height // 2)
world.add_object(FoodObject(Position(x=x, y=y)))
for _ in range(350):
for _ in range(300):
new_cell = DefaultCell(
Position(x=random.randint(-half_width // 2, half_width // 2), y=random.randint(-half_height // 2, half_height // 2)),
Rotation(angle=0)

View File

@ -350,7 +350,7 @@ class DefaultCell(BaseEntity):
movement_cost = abs(output_data["angular_acceleration"]) + abs(output_data["linear_acceleration"])
self.energy -= (self.behavioral_model.neural_network.network_cost * 0.1) + 1 + (0.2 * movement_cost)
self.energy -= (self.behavioral_model.neural_network.network_cost * 0.15) + 1 + (0.3 * movement_cost)
return self