◀ VibeCruiser

jogo cobrinha

A free snake game — play it in your browser, no install. 🐍 Snake em canvas com lógica pura testável, RNG injetável, fila anti-reversão e recorde local

by @wenderson-hgs · wenderson-hgs/jogo-cobrinha on GitHubLANG JavaScriptHOSTED ON WENDERSON-HGS.GITHUB.IOUPDATED 15 Nov 2026

Made this, @wenderson-hgs? See how many people played it → or use email

Best with a keyboard. Controls: Arrow keys · Space

▶ 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 cobrinha acelera a cada maçã (150 ms → mínimo 60 ms por passo). Bater na parede ou no próprio corpo encerra; quem cobrir o tabuleiro inteiro recebe a tela de vitória. O recorde fica salvo no localStorage.

Lógica 100% pura em jogo.js — sem DOM, sem canvas; a interface só desenha o estado e envia comandos. Isso permite testar o jogo inteiro no Node, sem navegador. RNG injetável — a posição da maçã vem de uma função de aleatoriedade passável como parâmetro, deixando os testes determinísticos. Fila de direções (máx.

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 →