Snake - The Design

Snake - The Design

Nov 1, 2017. | By: Isaac Mulcahy
1 min

Snake – The Design

So, I’ve developed my concept for my game, it was going to have obstacles that would appear every time the player changed direction meaning more thought and precision would have to go into playing the game making it more interesting and engaging from an earlier point for the player.

alt text

I started by developing a UML diagram which are great for Object orientated programming as it’s a great visual tool for showing what the program does and how it interacts. I know by the end of development the program would look work exactly like this but it allowed me to know where I was heading and gave a clear path to completion.

I broke the game into five different objects, these were designed to allow for automating sections of coding for myself such as collisions, movement and creating useful interfaces for the classes to allow for me to access the information I needed and only what I needed. The idea of this structure was to make the development process be more focus on the actual gameplay rather than figuring out the technical implementation, I knew this would not fully be the case. The system is also designed to allow for quick and easy changes to be added such as images for many different types of sprites, movement and so forth. Each of these sections are quite coupled together but they do allow for a great amount of control within them over their parts of the game. I do understand that this is not the most approve approach as there is a lot of dependences. I will be working on improving my coding and design skills.

About

Those who can do and those who can't teach games design.

Our Bunker

University of the West of England,
Frenchay Campus, Bristol, BS16 1QY,
United Kingdom.