◀ VibeCruiser

snake game

A free snake game — play it in your browser, no install. A polished browser-based Snake game built with TypeScript, Vite, HTML Canvas, and Vitest.

by @Ooskar7 · Ooskar7/snake-game on GitHubLANG TypeScriptHOSTED ON SSNAKKE-GAME.NETLIFY.APPUPDATED 23 May 2026

Made this, @Ooskar7? See how many people played it → or use email

Best with a keyboard. Controls: Arrow keys or WASD: change direction · Space: pause or resume

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

A polished browser-based Snake game built with TypeScript, Vite, and HTML Canvas. The game keeps the core model separate from rendering so movement, food spawning, collision checks, and state transitions are covered by unit tests.

Food spawning away from the snake. Growth and scoring after eating. Wall and self-collision game over. Difficulty increases as score grows.

Add sound effects with a mute toggle. Add touch controls for mobile. Add a compact leaderboard stored locally.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More snake games →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →