Skip to content

A desktop stylized version of snake game made from scratch in C++/OpenGL.

License

Notifications You must be signed in to change notification settings

Aayush9027/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNAKE 🐍 : Snake Game using C++ & OpenGL/GLUT

A desktop stylized version of snake game made from scratch in C++/OpenGL. This is the same snake game we all played in our childhood .

Requirements And Installations:

  • You will have to download project1.exe to play the game.
  • To run the .exe file without error, You have to download FreeGlut.dll
  • After downloading the dll file , paste this file according to your computer architecture
    • If 64-bit architecture then paste the file in C:\Windows\SysWOW64\
    • IF 32-bit architecture then paste the file in C:\Windows\System32\

RULES📝:

1. Your score increases (+1) with each food(🍎) the snake eats. (MAXIMUM = 60)

2. If the snake hits itself or in the WALL the game is over.

3. The level increases after each food is eaten as more you eat the food , the bigger you become.

How To Play 🎮:

Use the following keys:

1. ⇨ for moving RIGHT

2. ⇧ for moving UP

3. ⇩ for moving DOWN

4. ⇦ for moving LEFT

Skills 💪:

  • C++
  • OpenGL-freeglut

Prerequisites:

Note:

Feel free to file a new issue with a respective title and description on the SNAKE-Game. If you already found a solution to your problem, I would love to review your pull request!

Contribution:

  1. Clone the repository
$git clone https://github.com/Aayush9027/SNAKE_CPP.git
  1. Check the status of your file
$git status

3.Try using CODEBLOCK for editing your files

$git code .
  1. To directly add your files to github
$git add .
  1. After writing your code commit your changes
$git commit -m  <message>
  1. To push your code to reposoitory
$git push origin master

Thats all about installation and version control with Git

About

A desktop stylized version of snake game made from scratch in C++/OpenGL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages