Posted on 2019-05-08T11:59:33Z by Kevin Foong
This is the classic Snake game that I created in Processing. It is based off Dan Schiffman's great Processing tutorials here.
To play you have to eat the food (in green) but avoid the poison (in purple). The green food is worth 2 points. After a while it turns pink and is only worth 1 point. If you eat the poison 3 points is deducted. The controls is via a 3x3 grid mainly because it was originally designed to run on a mobile phone.
See Snake Game