Pinned: Expect some jankiness
Some of the JavaScript games need ... adjustments. Play at your own risk.
A game in the spirit of the arcade classic, Snake. Made with P5.js.
The game is a simple implementation of the classic Snake game. You control a “snake” as it moves around the canvas. The goal is to eat the red “food” blocks that appear. Each time you eat a food block, your snake grows longer. If your snake runs into the edge of the canvas or runs into itself, the game is over.
This game came about as a part of Google’s Computer Science Summer Institute. This game was featured as one of the final lessons in the curriculum. I built this game while learning how to teach the curriculum.