Skip to content

Snake is a classic game implemented in C++ using the Qt framework

Notifications You must be signed in to change notification settings

alessiopittiglio/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Snake is a classic arcade game implemented in C++ using the Qt framework. The objective of the game is to navigate a continuously growing snake and eat as much food as possible while avoiding collisions with walls or the snake's own body.

animation2

Features

  • Classic Snake gameplay mechanics
  • Retro color scheme inspired by the Nokia 3310 (RGB(182,196,3) and RGB(101,83,10))
  • Adjustable game grid size and snake scale
  • Increasing game speed as the snake grows longer
  • Pause, resume, and restart functionality

Requirements

  • Qt 5.x

Build

  1. Clone the repository
  2. Create a build directory and navigate to it: mkdir build && cd build
  3. Generate the build files using CMake: cmake ..
  4. Build the project: make

Controls

Action Key
Change snake direction Arrow Keys
Start the game S
Pause the game P
Resume the game R
Start a new game N

Contributing

This project was developed as part of a university course and is not actively maintained. However, if you would like to contribute improvements or bug fixes, you can submit a pull request on the project's GitHub repository.

Credits

Snake was developed by the class of Programming Techniques 2020 under the supervision of Prof. Alessandro Bria at the University of Cassino and Southern Lazio.

About

Snake is a classic game implemented in C++ using the Qt framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published