Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 772 Bytes

Readme.md

File metadata and controls

22 lines (20 loc) · 772 Bytes

CLASSIC SNAKE GAME IN C++

Built using C++ , This recreates the classic snake game we all loved and enjoyed

Getting Started

  • Clone the repo
git clone https://github.com/Kayle54187/Classic-Snake-Game.git
  • Install raylib library (Use Make to install or Cmake)
git clone https://github.com/raysan5/raylib.git raylib
cd raylib/src/
make PLATFORM=PLATFORM_DESKTOP # To make the static version.
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED # To make the dynamic shared version.
make PLATFORM=PLATFORM_WEB # To make web version.
  • Compile the Project with raylib library (Directory and user will be different)
g++ /home/usr/Directory/Classic-Snake-Game/main.cpp -o main -lraylib

@Author Christian, 2024