From 6b900097feeceb485412aea208c5216fd7ae021a Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Mon, 6 Feb 2023 12:46:15 -0800 Subject: changed time scaling to make the game a little easier --- snake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'snake.c') diff --git a/snake.c b/snake.c index aa6cb81..7b286ea 100644 --- a/snake.c +++ b/snake.c @@ -120,8 +120,8 @@ int main(int argc, char **argv) { if((snakePositions.vectors[0].mx + lastMoveDir.mx == foodPos.mx) && (snakePositions.vectors[0].my + lastMoveDir.my == foodPos.my)) { ateFood = 1; score += 1; - if (updateInterval > 50000000) { - updateInterval -= 20000000; + if (updateInterval > 100000000) { + updateInterval -= 10000000; } /* move the food */ while(1) { -- cgit v1.3.1