games: revert to 60 fps, slower Snake base speed
Switched both games back to 60 fps (FRAME_MS = 16 ms) for smoother rendering and reduced Snake base speed from 150 to 90 px/sec (~60 ms -> ~100 ms per step at cell=9) so the snake is controllable and doesn't feel too fast. Progressive difficulty (+1 px/sec per 5 food) and turn queue are unchanged.
This commit is contained in:
1 parent
ff29160461
commit
1d1c4524de
6 files changed
+6
-6
No files matched your search
@@ -520,7 +520,7 @@ int main() {
|
||||
render();
|
||||
|
||||
int xfd = ConnectionNumber(dpy);
|
||||
const unsigned long FRAME_MS = 1000 / 30; // 30 fps rendering
|
||||
const unsigned long FRAME_MS = 1000 / 60; // 60 fps rendering
|
||||
unsigned long frameStart = now_ms();
|
||||
|
||||
while (running) {
|
||||
|
||||
Reference in new issue
Block a user