AlfredMountfield
/projects/p5-snake/
Snake Game Experiment

JavaScript, p5.js

One of the first projects I wrote, trying to mess about with OOP principles in Javascript by implementing a basic version of Snake, utilising pure p5.js. Some of the implementation ended up being relatively tricky at the time, with the grid expanding to fit the size of the window while maintaining cells as squares. This project lead to p5 being one of my predominant tools in future experiments through the early days as it made it really easy to quickly add graphics and animations.