Snake 2D Game
A cross-platform terminal game implementation of classic Snake written in pure C.
Built as an exploration of low-level terminal manipulation, keyboard input polling, and game loop timing without external graphics frameworks or game engines.
Highlights
- Non-Blocking Input Queue: Implemented a buffered input handling queue to eliminate dropped keystrokes during rapid direction changes.
- Cross-Platform Terminal Control: Engineered console raw-mode handling compatible across both POSIX and Windows environments.
- Dynamic Difficulty: Automated game-speed scaling based on score progression and board state complexity.
Source code: github.com/namanthanki/snake