Snake grid port
A browser-safe recreation of the original console snake logic with a bounded board, keyboard controls, and no executable uploads.
Original implementation
The C version managed board state, food placement, and collision rules directly over a terminal-style map.
Web adaptation
The web adaptation preserves the same state-machine structure while replacing terminal rendering with a canvas board, bounded speed control, and explicit pause or reset actions.
Why it matters
Strong candidate for showing game-loop fundamentals, collision logic, and safe client-side interactivity.
Original stack
- C
Web stack
- TypeScript
- React
- Canvas
Original to web
Concept-preserving rewrite designed for browser constraints.
Archive
College archive
Interactive demo
These demos do not execute uploaded source files, native binaries, or arbitrary user code. Inputs are bounded and the browser versions are first-party rewrites in TypeScript.