iiitl / snake-game-js

0 stars 43 forks source link

made changes to increase snake speed when eating food #27

Closed sulfur05 closed 5 months ago

sulfur05 commented 5 months ago

added a line to increase the speed by 0.1 in the gameEngine() function. @rootCircle please check this pr

rootCircle commented 5 months ago

cc @ANKITy102

ANKITy102 commented 5 months ago

@sulfur05, reinitialize the speed on collision.

sulfur05 commented 5 months ago

@ANKITy102, changes have been made to reinitialize the speed to its initial value

ANKITy102 commented 5 months ago

@sulfur05, Nice. Try from next time to give more elaborative pr with issue id mention in it.