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.

PlatformsWindows, macOS, Linux, HTML5
Release date Feb 12, 2017
Tags2D, Colorful, Endless, minigames, Touch-Friendly
LicenseArtistic License 2.0
Average sessionA few minutes
LanguagesGerman, English
InputsKeyboard, Mouse

Install instructions

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.


Download 73 kB
Download 73 kB

Leave a comment

Log in with to leave a comment.