A minimal snake game controlled with Vim-style keys — h, j, k, l — built with Next.js and Canvas API.
live website : vim-snake
| Key | Action |
|---|---|
| h | Move left |
| j | Move down |
| k | Move up |
| l | Move right |
| p | Pause / Resume |
- Next.js (App Router)
- React Hooks
- HTML5 Canvas
npm install
npm run devThen open http://localhost:3000 in your browser.
- Classic snake mechanics
- Vim key bindings
- Pause / Resume
- Score tracking