Skip to content

Snake Game Using P5.js (Day 16 of My Challenge)

Notifications You must be signed in to change notification settings

zsoltime/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Day 15 of My 3 Weeks Game Challenge

Classic snake game using P5.js

User Stories

  • The snake never stops moving
  • I can control the snake with my arrow keys
  • I can see a randomly placed food
  • If the snake eats this food, it gets longer
  • If the snake hits the edge, it dies
  • If the snake bites itself, it dies
  • I can see the number of foods I collected

Next Steps

I definitely need to add a splash screen on start and a game over screen with the final score and an option to restart the game.

It would be also great to make it mobile friendly and you could swipe to control the snake.

Releases

No releases published

Packages

No packages published