Skip to content

bgwest/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Snake Game in C++

A simple, classic Snake game playable in your terminal, written in C++ as a learning project.
The game uses only standard C++ libraries and prints directly to the console.

Features

  • Real-time movement and growth
  • Food spawning and score tracking
  • Basic collision detection (walls and self)

Getting Started

Prerequisites

  • macOS (or Linux)
  • C++17-compatible compiler (clang++ or g++)
  • Terminal (or VSCode integrated terminal)

Build

./compile.sh

Run

./snake

About

terminal snake game in c++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published