Skip to content

Play the classic Snake game using Vim keys (H, J, K, L) to control the snake. A nostalgic browser game built with Next.js and Canvas by @masterdevsabith.

Notifications You must be signed in to change notification settings

masterdevsabith/vim-snake

Repository files navigation

Vim Snake

A minimal snake game controlled with Vim-style keys — h, j, k, l — built with Next.js and Canvas API.

live website : vim-snake

🎮 Controls

Key Action
h Move left
j Move down
k Move up
l Move right
p Pause / Resume

⚙️ Tech Stack

  • Next.js (App Router)
  • React Hooks
  • HTML5 Canvas

🚀 Run Locally

npm install
npm run dev

Then open http://localhost:3000 in your browser.

🧩 Features

  • Classic snake mechanics
  • Vim key bindings
  • Pause / Resume
  • Score tracking

About

Play the classic Snake game using Vim keys (H, J, K, L) to control the snake. A nostalgic browser game built with Next.js and Canvas by @masterdevsabith.

Topics

Resources

Stars

Watchers

Forks