Snake Rebound
arcade • snake • retro • classic
Snake Rebound — classic HTML5 Snake from Rembound tutorial! Grid 20×15, walls, apple, 10 blocks/sec, sprite atlas 64px. Pure Canvas, GPLv3.
Snake Rebound is the clean HTML5 Snake from Rembound's 2015 tutorial (GPLv3). Built step-by-step with Level grid 20×15, tiles 32×32, wall tile 1/empty 0/apple 2, Snake class with directions Up/Right/Down/Left, speed 10 blocks/sec, 4 segments start at 10,10, texture atlas snake-graphics.png 64×64 sprites (head/body/tail/apple). Features tryMove/move/grow, random apple spawn on empty tile, wall/self collision, score, gameover 0.5s delay, canvas 640×480 (#577ddb bg, #f7e697 empty, #bcae76 wall), sprite draw via drawImage. Controls: Arrow/WASD or mouse click to turn, Space to grow (debug). No ads, no tracking, pure JavaScript. Play instantly on NepLox Games — smooth and clean from https://github.com/rembound/Snake-Game-HTML5.
About Snake Rebound
Snake Rebound — classic HTML5 Snake from Rembound tutorial! Grid 20×15, walls, apple, 10 blocks/sec, sprite atlas 64px. Pure Canvas, GPLv3.
Gameplay — Snake Rebound
- How to play Snake Rebound? — Use Arrow/WASD or mouse click to steer. Snake moves 10 blocks/sec on 20×15 grid with walls. Eat apple (tile 2) to grow and score. Avoid walls (tile 1) and self-collision. Press any key after Game Over to restart (0.5s delay).
- What are the controls? — Arrows/WASD: Up/Right/Down/Left (can't reverse directly). Mouse click cycles direction. Space (debug) grows snake. Mobile: tap canvas.
- How does the tutorial code work? — Level class with columns/rows/tilewidth/tileheight and generate() walls. Snake class with init/directions/grow/tryMove/nextMove/move. drawSnake picks tx/ty from 64px atlas. addApple finds random empty not on snake. updateGame checks wall/self/apple then move.
- Is Snake Rebound free? No ads? — Yes — GPLv3 by Rembound.com (2015), no ads, no tracking, 640×480 canvas, snake-graphics.png atlas, single snake.js 20KB, works offline.
FAQ
Frequently asked about this game
How to play Snake Rebound?+
What are the controls?+
How does the tutorial code work?+
Is Snake Rebound free? No ads?+
Tips to score high?+
What is the grid size in Snake Rebound?+
How to Play — Snake Rebound
- How to play Snake Rebound?
Use Arrow/WASD or mouse click to steer. Snake moves 10 blocks/sec on 20×15 grid with walls. Eat apple (tile 2) to grow and score. Avoid walls (tile 1) and self-collision. Press any key after Game Over to restart (0.5s delay). - What are the controls?
Arrows/WASD: Up/Right/Down/Left (can't reverse directly). Mouse click cycles direction. Space (debug) grows snake. Mobile: tap canvas. - How does the tutorial code work?
Level class with columns/rows/tilewidth/tileheight and generate() walls. Snake class with init/directions/grow/tryMove/nextMove/move. drawSnake picks tx/ty from 64px atlas. addApple finds random empty not on snake. updateGame checks wall/self/apple then move. - Is Snake Rebound free? No ads?
Yes — GPLv3 by Rembound.com (2015), no ads, no tracking, 640×480 canvas, snake-graphics.png atlas, single snake.js 20KB, works offline.





