Skip to content

Meta-Ben/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Reupload project from 2014 : This project was recovered so don't take commits into accounts

๐Ÿ Snake SDL ๐Ÿ

Overview

This project is a C++ implementation of the famous Snake Game using SDL.

Run it

The github file already provide the .exe and a binary linux file just double click on the file regarding your OS

You can also open a terminal and run make run at the root of the project

How to play

Arrow -> Turn the snake

The rule are simple, eat the white square to grow and avoid touching edge of the screen or your own tail and go as far as you can

Build the project

If you want to build the project you can follow the steps below :

  • Ensure you have GCC installed
  • ( For Windows users install MinGw )
  • Download SDL-2.0.9
  • Open the Makefile and set the var SDL_FOLDER at the path where your SDL folder is
  • And then just run make compile ( MinGw32-make compile for windows users ) command this will replace the binary in the output folder that match your OS
  • Then you can launch the app or run make run

Note : Build with G++11.4.0 using SDL-2.0.9

About

2014 - C++ / SDL Snake game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors