Snake is the classic game which came pre installed in the Nokia phones released in the late 90s. The goal of the game is to reach as high of a score the player can achieve by eating foods on the screen without dying.
I made the game in C++ using SFML (Simple Fast Multimedia Library). The game art itself is inspired from the classic 8 bit style that we are familiar with. I have also made two modes of playing: using Singly Linked List or Doubly Linked List. While playing, the player can see the complexity for operations such as reversing list, reducing by one, increasing by one, etc.
There are various pickups like fruits (apples, mango, orange), junkfood (pizza, burger, cheese), poison and alcohol. Eating fruits reduce the snake length by 1. Eating junkfood increases snake length by 1. Poison leads to shrinking snake length by half and alcohol reverses snake direction.