Project information

  • Category: Game Development
  • Engine/Language: Unity - C#
  • Type: Practice project
  • Project end date: 29 - 04 - 2022
  • Project duration: 2 Days

  • itch.io page: Click here

Project information

Snake is an "arcade" type game. With as goal to try new methods of coding and implementing functions I hadn't used before. It is a clone of the classic arcade game with the same name: "Snake".

Gameplay

In snake you start as a small snake with the goal of getting longer. The player wins by having the high score in length. The player loses by the snake hitting itself or a wall.
The snake get bigger by eating "Apples", colliding with them to eat them. If the snake tries to move into itself or go off thescreen it dies and the game is over. Each apple the snake eats adds a point to the players score, with as end goal to get the high score.


My part

This project was solo meaning I was responsible for all functions. Like the snake movement, making sure the snake doesnt try to move right back into itself. Apples spawning randomly and making the snake longer when they overlap. The loading of the board. Keeping score.


Code snippets

In-editor settings for the Visual and Logic manager scripts Code responsible for the backend-movement of the snake Code responsible for the visual representation of the game