Switched both games to a 30 fps render cap (FRAME_MS = 33 ms) for smoother, more predictable frame pacing. Snake base speed raised to 150 px/sec (~60 ms per step at cell=9) so turn commands take effect at the next step without perceived lag. The buffered-direction model (latest keypress wins) is unchanged — turns apply at the next step, which is immediate in snake terms. Progressive difficulty (+1 px/sec per 5 food in Snake, +1 px/sec per 10 lines in Tetris), edge wrap, Gameboy-style beveled blocks, and all controls are unchanged.
13 KiB
Executable File
13 KiB
Executable File