版本比较
a
正文
增加 13 行删除 13 行
123455678939 行未改动4950515253535455565730 行未改动888990919292939495967 行未改动1041051061071081081091101101111121131141141151161171185 行未改动12412512612712812812913013113212 行未改动14514614714814914915015115115215315415516 行未改动17217317417517617617717817918016 行未改动19719819920020120120220320420516 行未改动22222322422522622622722822923051 行未改动28228328428528628628728828929030 行未改动//#include<iostream>//#include<stdio.h>//#include<conio.h>//#include <windows.h>// ////using namespace std;//void Game_Menu(HANDLE hout);//void Game_description(HANDLE hout);//void gotoxy(HANDLE hout, int x, int y);39 行未改动// { 1,1,1,0,4,0,1,0,1,1 },// { 1,3,3,3,3,3,0,0,1,0 },// { 1,1,1,1,1,1,1,1,1,0 },//};//void Game_Menu(HANDLE hout) { //void Game_Menu(HANDLE hout) {// system("cls");// gotoxy(hout, framex, 1);// cout << "*******************";// gotoxy(hout, framex, 3);30 行未改动//void print(int i) {// switch(i) {// case 0:// color(0x7);// cout << " "; // cout << " ";// break;// case 1:// color(8);// cout << "¡ö";7 行未改动// cout << "¡õ";// break;// case 5:// color(3);// cout << "¡â"; // cout << "¡â";// break;// case 7: // case 7:// color(6);// cout << "¡ô";// break;// case 8: // case 8:// color(3);// cout << "¡â";// break;// default:5 行未改动// color(0xF);// cout << "µÚ" << pass << "¹Ø";// for(int i = 0; i < R; i++) {// gotoxy(hout, framex, framey + i);// for(int j = 0; j < C; j++) { // for(int j = 0; j < C; j++) {// print(map[i][j]);// }// }// return 0;12 行未改动// gotoxy(hout, framex, framey + R);// color(0xF);// printf("µ±Ç°Î»ÖÃ:(%d, %d)", x, y);// int ch = _getch();// //// switch(ch) {// //// case 'w':// case 'W':// case 72:// if(map[x - 1][y] == 0 || map[x - 1][y] == 3) {16 行未改动// print(map[x - 2][y]);// }// }// break;// //// case 's':// case 'S':// case 80:// if(map[x + 1][y] == 0 || map[x + 1][y] == 3) {16 行未改动// print(map[x + 2][y]);// }// }// break;// //// case 'a':// case 'A':// case 75:// if(map[x][y - 1] == 0 || map[x][y - 1] == 3) {16 行未改动// print(map[x][y - 2]);// }// }// break;// //// case 'd':// case 'D':// case 77:// if(map[x][y + 1] == 0 || map[x][y + 1] == 3) {51 行未改动// SetConsoleTextAttribute(consolehend, m);//};//int main() {// HANDLE hout = GetStdHandle(STD_OUTPUT_HANDLE);// //// Game_Menu(hout);// char ch = getch();// setmap(pass);// Game_description(hout);30 行未改动