A free snake game — play it in your browser, no install. Neural network that plays Snake, built in pure NumPy with hand-written backprop and Q-learning. Mean score 67.6 over 100 evaluation games.
Made this, @Sammm14? See how many people played it → or use email
Controls: Arrow keys
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 GitHubA Snake agent trained with Q-learning. The neural network, forward pass, loss, backpropagation and Adam optimizer are all written by hand in NumPy. No PyTorch or TensorFlow.
Fair evaluation: 100 games per model, greedy policy (no exploration), fixed seed.
Basic inputs (11): danger ahead/right/left, heading (4), food direction (4). Improved inputs (+3): for each possible move, a flood fill measures how much free space is reachable, as a fraction of snake length. This tells the agent when a move would trap it, which the 11 local inputs cannot show.
Built something like this? Submit your vibe — free account, takes a minute. How listing works.
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.