版本比较
Hitit game
正文
增加 3 行删除 3 行
17 行未改动18192021222223242526472 行未改动全部展开499500501502503503504505506507501 行未改动全部展开100910101011101210131013101410151016101733 行未改动17 行未改动v0.1.1:20200809 14:00Fixed some initial bugs```
编译参数:-std=c++11 编译参数:-std=c++11运行前在程序文件夹中创建新文件夹“map”并向其中添加地图,添加地图方式见代码后
hitit.cpp```cpp472 行未改动全部展开 if(mmp[i][j]=='X' || mmp[i][j]==' ') mapp[i][j]=EMPTY; else mapp[i][j]=BLOCKED;
//Player Select color & set spawn points setConsoleSize(60,15); setPosition(0,0); printf("Choose colors for players. Press LEFT and RIGHT arrows to select the colors. Press B to change them into backgrounds. Press ENTER when you're OK.");501 行未改动全部展开}
```
地图: 地图:在“map”文件夹里创建任意英文名称的txt文档,内容如下:1. 第一行为两个数字n,m,分别代表地图的行数和列数2. 第二到n+1行,每行分别为长度为m的字符串,每个字符含义如下: * “X”指玩家出生点,数量不限33 行未改动