iiitl / snake-game-js

0 stars 44 forks source link

Increased snake speed while eating food #2 #55

Closed sanchitapatel29 closed 4 months ago

sanchitapatel29 commented 4 months ago

Fixes #2 I increased the speed of the snake by 0.1 when the snake ate the food and then I reinitialized the speed variable when the snake collided.

ANKITy102 commented 4 months ago

@sanchitapatel29, nice work!