Skip to content

About

A snake game made by OpenGL.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game Sample

This project is a simple snake game written using OpenGL, GLFW, and GLM. The game uses classic snake mechanics and is developed in C++.


Contents


Installation

Requirements

  • C++ compiler (GCC or Clang recommended)
  • CMake (minimum version 2.8)
  • GLFW 3.2 or higher
  • GLM library
  • GLAD (included in the project)
  • A system supporting OpenGL

Installation Steps

git clone https://github.com/myakupozluk/SnakeGameSample
cd SnakeGameSample
mkdir build && cd build
cmake ..
make
./Game

Gameplay

  • Control the snake's movement direction using the arrow keys.
  • Press the SPACE key to add a new segment to the snake's tail.
  • The game ends if the snake moves out of the screen bounds.
  • Press the ESC key to exit the game.

About

A snake game made by OpenGL.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages