Adobe Flash: “Snake”

Snake

This game was designed using Adobe Flash CC 2014/ActionScript 3. I opted to make a simple classic game as this was my first time undertaking an Adobe Flash project. My game of choice was ‘Snake’. The objective of the game is the eat as many cherries as possible without hitting the enclosure, the body or eating any poison. As the snake eats more food, it increases in size and speed resulting in a higher difficulty.

The aesthetic of the game is basic. It is made up of 3 objects (a square, a circle with a line attached and a circle with an ‘X’ within) and static/dynamic text. The functionality of these objects is defined within the actionscript file. The position of the cherries and poison is randomly allocated after each time the snake eats a cherry. ‘If’ conditions determine the increasing speed of the snake. I had hoped to implement more functionality. For instance I want to control the rate of poison’ and display ‘slow down snake’ symbols using a random generator/if condition i.e. 1 in 10 chance of it being a certain number and when it is that number, call the function. Also, I wanted to insert a ‘Start’ screen and ‘Game Over’ screen but these features will be added once I can spare the time from my thesis.

Controls

Use the arrow keys to change direction of the snake

PLAY IT HERE