Skip to content

Mayhem93/snake-game-cli

Repository files navigation

Snake Game in CLI

⚠️Disclaimer

This project was done for my own pleasure and education as I have not coded in a language like C++ since college. This was made with the help of AI (Copilot with Claude Sonnet)

Documentation

Doxygen documentation

Prerequisites

  • cmake 3.xx
  • Linux: gcc v13 (if using an older compiler version we might have some issues and I had to upgrade to use some c++ new features)
  • Windows: I had compiled this using msvs 2022 (not guaranteed to work, since I haven't tested it on a long time)
  • vcpkg installed in homedir (if somewhere else, you need to modify CMakePresets.json)

Building

  • cmake --preset linux-make-x64
  • cmake --build --preset build-linux-make-debug --config debug

Running

  • ./build/linux-make-x64/snake

Issues

  • In windows using powershell + windoes terminal even if it "works" there are some issues with rendering

About

Classic snake game made in C++ that runs entirely in the CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors