diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2023-02-06 12:46:15 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2023-02-06 12:46:15 -0800 |
| commit | 6b900097feeceb485412aea208c5216fd7ae021a (patch) | |
| tree | 98e23a92c202744bb0c2850104e96a2f1e463959 | |
| parent | 3d1823a0088fb9862eda64aff754721d525bd181 (diff) | |
changed time scaling to make the game a little easier
| -rw-r--r-- | snake.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |
