After watching some videos from Daniel Shiffman I really wanted to try P5.js out. So I played around with some mechanics and got stuck on snake. And after a weekend of programming and tweeking here i present my version of snake.
Like in the original, you grow if you eat berries but here you will grow in the color of the berry you ate. If you eat at least 3 or at most 10 of the same color without interruption they will be removed and evalauted in additional points. Every level the game will change a litte bit and will allow you to play it in different ways.
If you want to, it is possible to change the size of the game field. Just open game/base.min.js with a text editor and change:
var fieldSizeW = 800; var fieldSizeH = 500;
corresponding to your liking.
Leave a comment
Log in with your itch.io account to leave a comment.