Skip to content

Commit

Permalink
Slightly increase food usage
Browse files Browse the repository at this point in the history
  • Loading branch information
50m30n3 committed Sep 20, 2011
1 parent 86278cf commit 547fc66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurobot.js
Expand Up @@ -338,7 +338,7 @@ function neurobot( x, y, rot, parent )
if( this.age >= 10000 ) if( this.age >= 10000 )
this.alife = false; this.alife = false;


this.foodlevel -= speed/2.5 + Math.abs( turnspeed/5.0 ) + 0.2; this.foodlevel -= speed/2.0 + Math.abs( turnspeed/4.0 ) + 0.2;
if( this.foodlevel <= 0 ) if( this.foodlevel <= 0 )
this.alife = false; this.alife = false;
} }
Expand Down

0 comments on commit 547fc66

Please sign in to comment.