/Tankwar

A tank battle game implemented with the console

Primary LanguageC++Apache License 2.0Apache-2.0

坦克大战的CPP实现

使用方法: Linux下编译运行:

git clone https://github.com/ve3344/Tankwar.git
cd Tankwar
g++ main.cpp -std=c++11 -w

绘制部分使用了Linux控制台的api,所以 目前只能在linux下运行

运行效果图

console文件夹里是封装的控制台绘图接口

绘制使用多重缓冲,不会导致刷新闪烁。