Some terminal-based C++ games are used as exercises for C++ features. Try to be compatible with compiling under different operating systems.
How to Complie:
MAC OS:g++-9 main.cpp -o snake -std=c++11(IF MAC_OS,do not use clang to complie)
Windows:Dev C++(-std=c++11)
Linux:
Effect demonstration: