Snake Crash!

” Eat the fruit to trap that brute!”

Quick Facts


Type of project:
Solo, Coursework
Date Produced:
Summer 2018
Programs used:
Unity
Serif Drawplus x8

Key features


  • Play as a snake trying to eat as much food as possible!
  • Bank your food by making the other player hit you.
  • A 2-player versus game!
  • This project is a part of the coursework that required research into the development cycle.

the full story


The Unity project was for an EPQ (Extended project qualification), which allows us to do any project and either make an artefact or write an essay. My Project was life-cycle of games from concept to release. It focused on multiple aspects, including creating the game, how the Video games industry operates and the current situations surrounding it.

The game is about you and another player being snakes. Your goal is to eat the most fruit without hitting the desert objects, yourself or the other player. The game called “Slither.io” influenced the concept for the game. Eating the fruit in the game can make the player’s snake longer, and Powerups can assist one player than the other. One powerup used is the ability to freeze your opponent. The game ends when the timer ends, and the winner is the one with the most extended body (most points).

Before starting the coursework, I had little to no experience working with Unity or the c# language. Over time, I began to explore many new fields in programming like UI, inputs and Object-Oriented Programming. There is one concept in particular that challenged my problem-solving skills, which was getting the bodies of the snakes reacting with collisions.

There is a component in Unity called a “trail”. This Component produced an image behind it when its source moves. A similar comparison to this would be a shooting star. The problem is the Component could not react with collisions, meaning that the snakes couldn’t interact. The solution was to create little invisible spheres in the middle of the snake to respond with the collisions. This answer to the problem worked well with checking whether a snake’s head collided with a snake’s body.

additional resources


Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.