removed logs

This commit is contained in:
MaxRobinsonTheGreat
2020-08-04 21:28:58 -06:00
parent 0d3a98925b
commit 53ec41ded3
3 changed files with 2 additions and 3 deletions

2
dist/js/bundle.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -62,7 +62,6 @@ class WorldEnvironment extends Environment{
addOrganism(organism) { addOrganism(organism) {
organism.updateGrid(); organism.updateGrid();
console.log(organism.birth_distance);
this.total_mutability += organism.mutability; this.total_mutability += organism.mutability;
this.organisms.push(organism); this.organisms.push(organism);
if (organism.cells.length > this.largest_cell_count) if (organism.cells.length > this.largest_cell_count)

View File

@@ -188,7 +188,7 @@ class Organism {
}; };
} }
if (Math.random() * 100 <= 10) { if (Math.random() * 100 <= 10) {
this.birth_distance += Math.floor(Math.random() * 3) - 1; this.birth_distance += Math.floor(Math.random() * 5) - 2;
if (this.birth_distance < 1) if (this.birth_distance < 1)
this.birth_distance = 1; this.birth_distance = 1;
} }