Da Snake Game
- 2 Devlogs
- 2 Total hours
Teeny tiny, responsive vanilla-JS game where you guide a blue snake across a 30×30 grid, eat red food to grow, and chase a higher score without crashing into walls or yourself. Built with plain HTML/CSS/JavaScript, no frameworks, just a game loop, collision logic,
Added collision detection and food spawning to the snake game, so now the snake actually dies when it hits walls or itself and grows when it eats.Spent an hour wrestling a bug where food kept spawning on top of the snake body,fixed it by looping until the new position didn’t overlap any segment,then cleaned up the score counter so it increments properly. I’m thinking the first ship is readyyyyyy. ( It’s very rough, but okayish)