Lab · Games
JavaScript Games
The same developer, two different tools. Snake is pure vanilla JavaScript — the game loop, collision detection and rendering are plain functions on a <canvas>, no framework. Memory is the opposite: every flip, match and lockout lives in React state.
demonstrates: vanilla DOM/canvas · game loops · React state management
Snake — vanilla canvas
No framework. Arrow keys or WASD.
score 0 · best 0arrow keys or WASD
Memory — React state
Match the JavaScript operators.
moves 0