Skip to content

young-52/super-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🟩 SuperSnake 🟥



🍎 About

  • SuperSnake is a snake game variation which has a multi-stage system.
  • The more food the snake eats, the faster it will run!

⏯️ Rules

  • 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…

🕹️ Key bindings

Keys Functions
⬆️, W, K Go up
⬅️, A, H Go left
⬇️, S, J Go down
➡️, D, L Go right
esc, space, P Pause/Resume

💿 How to Run

  1. SuperSnake needs Node.js, npm, and Gradle. If you do not have them, please check the installation guides below.

  2. Build and activate the backend server:

      λ cd backend && gradle run
  3. Turn on another terminal, and install dependencies via npm:

      λ cd frontend && npm install
  4. Build ReScript files:

      λ npm run re:build
  5. Activate the frontend server:

      λ npm run start
  6. Finally, you can see SuperSnake on http://localhost:3000.

👷 Trivia

About

🚅 More dynamic snake | 2025-1 Computer Programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published