• Home
  • About
    • Bryce Newell photo

      Bryce Newell

      Here I will be writing my developer diary and will showcase some of the projects that i am working on.

    • Learn More
    • Github
  • Posts
    • All Posts
    • All Tags
  • Projects

Snake Game Update 1

13 Oct 2017

Reading time ~1 minute

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.

Snake Head UML

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.



blogc++low level programmingLLP Share Tweet +1