Skip to content

Windows desktop 2D game. A combination of classic snake with couple of whimsical features.

Notifications You must be signed in to change notification settings

marekkawalski/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Snake game

Windows desktop 2D game. A combination of classic snake with couple of whimsical features.

Table of contents

General info

The goal of this application was to create a 2D game using objective c++ and its advanced features: smart pointers, containers from stl library and stl iterators.

Speaking of the application itself, it's rather similar to a classic snake game that came out a very long time ago. Nevertheless, it has couple of tricks which the first implementation of snake didn't have.

  • There are bombs which appear out of the blue and can end game if hit.
  • Snake can shoot to fruits and bombs.
  • Snake can accelerate with a push of a button.
  • There are two kind of fruits, one of them are classic apples which appear randomly on screen and new apple comes out as soon as the previous had been eaten. The second, random items which appear in random periods of time in random places on screen.

Images

How to use

  1. Start the program.
  2. Go through intro section
  3. Choose play
  4. Control snake:
    • Use W+S+D+A or arrows to move snake.
    • Use space for shooting.
    • Use shift for acceleration.
    • Use p if you want to pause the game.

Technologies used

  • c++
  • sfml

Programming environment

  • Visual studio

Project status

Finished

About

Windows desktop 2D game. A combination of classic snake with couple of whimsical features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published