Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
cheryllium committed Jan 3, 2024
1 parent f1cabec commit 3afb887
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/fish.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ export default class Fish {
let d = distance(this.x, this.y, food.x, food.y);
// If distance is within a certain amount, move towards food
if (d < 250) {
console.log('adjusting for food');
this.dx += (food.x - this.x) / 70;
this.dy += (food.y - this.y) / 70;
}
Expand Down

0 comments on commit 3afb887

Please sign in to comment.