Snake — free browser game
The classic snake game — eat the food, grow longer, don't crash into the walls or your own tail.
Controls
Arrow keys or WASD · Space: pause · R: restart
How to play
Tips and detailed strategy
Steer the snake around a 20×20 grid and grow it as long as you can without colliding with the walls or its own body. Arrow keys or WASD set the direction; the snake moves one cell per tick and keeps going until you turn. You can't reverse 180° in a single press, so flipping direction takes two consecutive inputs. Crossing the red food cell scores a point and adds one segment to the snake; new food then appears in a free cell. Hitting the wall or your tail ends the run instantly — your best score is saved in the browser. Press any direction key to start, Space to pause, and R or the on-screen Restart button to begin a new round. Strategy tip: as the snake grows, hug the walls with the tail and keep the middle open so you can approach food head-on; if you get cornered, don't panic-turn — coast in a calm spiral until you carve out room to breathe.