# include<iostream>
# include<stdio.h>
# include<conio.h>
using namespace std;
int num = 2;
int Map[8][8] = {
1,1,1,1,1,1,1,1,
1,2,0,0,0,1,3,1,
1,1,1,1,0,1,0,1,
1,0,0,0,0,1,0,1,
1,0,1,1,1,1,0,1,
1,0,1,3,1,0,0,1,
1,0,0,0,0,0,1,1,
1,1,1,1,1,1,1,1
};
void map() {
for (int i = 0; i < 8; i++) {
for (int j = 0; j < 8; j++) {
switch (Map[i][j]) {
case 1:cout << "¡ö"; break;
case 0:cout << " "; break;
case 2:cout << "¡ñ"; break;
case 3:cout << "¡ð"; break;
}
}
cout << endl;
}
}
void move() {
int x, y;
本内容试读结束,登录后可阅读更多
下载后可阅读完整内容,剩余3页未读,立即下载