这个存储库是一个用 C++ 实现的双字节版的贪吃蛇游戏,用 CMake 构建。
# configure the project
cmake -B build
# build the project
cmake --build build
# test the project
cd build
ctest --output-on-failure
# run the project
./build/bin/main.exe
# package the project
cpack -G ZIP
# or
cpack -G NSISThe source code is dual licensed under Public Domain and MIT -- choose whichever you prefer.