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)
- 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)
cmake --preset linux-make-x64cmake --build --preset build-linux-make-debug --config debug
./build/linux-make-x64/snake
- In windows using powershell + windoes terminal even if it "works" there are some issues with rendering