Snake Beginnings
The first task with snake was to create some UML diagrams and plan out how the game would look. Here is an example of one of the UML diagrams which I created for the “Snake Head” class.
This class would be used to handle all of the functions needed by the snake head such as movement and rendering as well as holding its current position. I tried to do as much of this within the snake head class so as to keep good encapsulation.