- SuperSnake is a snake game variation which has a multi-stage system.
- The more food the snake eats, the faster it will run!
- A sequence of green blocks is the snake, and a red block is the food.
- If you press the arrow key, the snake runs in that direction.
- When the snake gets the food, it will be one block longer.
- The game is over when the snake hit the wall or it is collided with itself.
- Sometimes the level goes up and the snake gets faster…
| Keys | Functions |
|---|---|
⬆️, W, K |
Go up |
⬅️, A, H |
Go left |
⬇️, S, J |
Go down |
➡️, D, L |
Go right |
esc, space, P |
Pause/Resume |
-
SuperSnake needs Node.js, npm, and Gradle. If you do not have them, please check the installation guides below.
-
Build and activate the backend server:
λ cd backend && gradle run
-
Turn on another terminal, and install dependencies via npm:
λ cd frontend && npm install
-
Build ReScript files:
λ npm run re:build
-
Activate the frontend server:
λ npm run start
-
Finally, you can see SuperSnake on
http://localhost:3000.
- SuperSnake is a term project for SNU undergraduate course Computer Programming.
- SuperSnake is inspired by eolculnamo2/snake-game-rescript project.