Skip to content

Max326/Projekt-semestralny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projekt-semestralny

This is a Snake Game repository. It's a final project made for a C++ object oriented programming course.

It was written using the Raylib library, available here.

Here is it's github repository.

This project is overcomplicated in some places, but that was a requirement (we had to demonstrate understanding of C++ functionalities).

Movement

Movement is done by WSAD. The snake dies when its head touches a wall, or its body. The snake grows as it eats the food appearing on the screen randomly. If the food appears where the snake's body is, the snake also grows.

How to run

If there is no build folder: (in the main project directory)

mkdir build && cd build
cmake ..
make
./MyExecutable

If there is an existing build folder:

cd build
cmake ..
make
./MyExecutable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published