Skip to content

About

A classic Snake game built in modern C++ using Raylib.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

🐍 Retro Snake

A classic Snake game built using C++ and the Raylib graphics library.

C++ Raylib Platform

Features

  • Object-Oriented Design
  • Random food generation
  • Collision detection
  • Score tracking
  • Sound effects
  • Retro-inspired UI

Technologies

  • C++17
  • Raylib
  • Make
  • g++

Project Structure

.
├── Graphics/
├── Sounds/
├── main.cpp
├── Makefile
├── README.md
└── .gitignore

Controls

Key Action
↑ ↓ ← → Move Snake
ESC Quit

Build

Compile:

make

Run:

make run

Clean:

make clean

Preview

Gameplay

Prerequisites

Install Raylib using Homebrew:

brew install raylib

Installation

Clone the repository:

git clone https://github.com/aru-srivastava/retro-snake-cpp.git

Navigate into the project:

cd retro-snake-cpp

Build:

make

Run:

make run

Future Improvements

  • Pause menu
  • High-score saving
  • Difficulty levels
  • Game restart screen
  • Better UI animations

Author

Aru Srivastava

About

A classic Snake game built in modern C++ using Raylib.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages