Skip to content

TonyGunk01/Snake2D-LinkedList

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

Snake2D-LinkedList

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.

Click here for video demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.4%
  • CMake 3.6%