It's a time of great peril! Rats, curiously square shaped, are trying to take over the world! Only one hero can save the day, Snake!
Fortunately, Snake likes rats. Unfortunately, he grows as he munches on them. As Snake moves his curiously rectangular body around the curiously rectangular world, if he crashes into himself, it's game over. Rats!
To play this revolutionary game, use the cursor keys.
To build:
npm run build
To run the tests:
npm test
To start:
npm start
Then navigate to http://localhost:8080
This only happens when code is pushed to main
. The main
branch is protected.
On a success deploy, you can play the game here: https://daddyshortlegs.github.io/snake/