版本比较
大富翁beta 1.4.0
正文
增加 23 行删除 23 行
769 行未改动全部展开770771772773774774775776777778104 行未改动全部展开88388488588688788788888989089134 行未改动92692792892993093093193293393415 行未改动95095195295395495495595695795895995996096196296387 行未改动105110521053105410551055105610571058105925 行未改动108510861087108810891089109010911092109319 行未改动11131114111511161117111811171118111911201121112230 行未改动1153115411551156115711571158115911601161152 行未改动全部展开1314131513161317131813181319132013211322325 行未改动全部展开16481649165016511652165216531654165516562 行未改动1659166016611662166316631664166516661667279 行未改动全部展开1947194819491950195119511952195319541955178 行未改动全部展开213421352136213721382138213921402141214242 行未改动218521862187218821892189219021912192219331 行未改动22252226222722282229222922302231223222332234223522362237223822392239224022412242224340 行未改动228422852286228722882288228922902291229122922293229422952 行未改动229822992300230123022302230323042305230620 行未改动232723282329233023312331233223332334233575 行未改动241124122413241424152415241624172418241930 行未改动769 行未改动全部展开 ' ','&','&',' ','&', '&',' ',' ','&',' ', ' ','&','&',' ','&', ' ',' ',' ',' ',' ', ' ',' ',' ',' ',' ', ' ',' ',' ',' ',' ', }, {//' ' ',' ','"',' ',' ', ' ',' ','"',' ',' ',104 行未改动全部展开 ' ','[',' ',' ',' ', ' ','[',' ',' ',' ', ' ','[','[','[',' ', }, {//\ {//\ '/',' ',' ',' ',' ', '/',' ',' ',' ',' ', ' ','/',' ',' ',' ', ' ','/',' ',' ',' ',34 行未改动 ' ',' ',' ',' ',' ', ' ',' ',' ',' ',' ', '_','_','_','_','_', ' ',' ',' ',' ',' ', ' ',' ',' ',' ',' ', ' ',' ',' ',' ',' ', }, {//` ' ','`',' ',' ',' ', ' ',' ','`',' ',' ',15 行未改动 int arrow; string bow; string knife;};void SetPos(COORD a)// set cursor void SetPos(COORD a)// set cursor{ HANDLE out=GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleCursorPosition(out, a);}
void SetPos(int i, int j)// set cursor{ COORD pos={i, j}; SetPos(pos);87 行未改动 cout<<lan<<endl; if(lan==1){ outside("English selscted"); }else if(lan==2){ outside("已选择中文"); outside("已选择中文"); }else{ outside("ERROR"); exit(0); }25 行未改动 outside("道具七:金色的管子。功能:传送你到地图上随机星星商人的位置(25元)"); outside("道具八:夹娃娃机。功能:可作为任何道具使用(30元)"); outside("道具9:嘘(boo)。功能:从指定玩家那里偷10块钱,再加35元可以从指定玩家那里偷一颗星星(15块钱)"); outside("道具十:战斗手套。功能:让你和一个指定的玩家战斗,如果你赢了,你可以偷那个玩家的一半钱(15钱)"); outside("按wsad移动。"); outside("按wsad移动。"); outside("按1掷骰子"); outside("按2使用道具"); }else{ outside("1 will give you 3 money ");19 行未改动 outside("Prop nine:boo.Function:Steal 10 money from the designated player;if you add 35 yuan more, you can steal a star from the designated player(15 money)"); outside("Prop ten:combat gloves.Function:let you fight with a designated player,if you win, you can steal half of that player's money(15 money)"); outside("Press 1 to roll the dice"); outside("Press 2 to use the prop"); outside("Press 'w','s','a','d'to move."); } outside("Press 'w','s','a','d'to move."); } system("pause"); return;}void say2(){30 行未改动 outside("Bata 1.2.0:Fixed some bugs."); SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_INTENSITY|FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_BLUE); outside("Bata 1.3.0:Update to 2D!Fixed some bugs."); outside("Beta 1.4.0:Added the minigames!Fixed some bugs."); } } system("pause"); return;}void merchant(int c){152 行未改动全部展开 yuan=0; cout<<"player "<<pl<<"'s money has been cleared. X("<<endl<<endl; sleep(1); return; }else }else pstar[pl]--; cout<<"player "<<pl<<"'s star -1. XX("<<endl<<endl; if(pstar[pl]<0){ pstar[pl]++;325 行未改动全部展开 tim=(double)clock()/CLOCKS_PER_SEC; win=fight1_1(); winnerbyminigamesfight(); } return; return;}void fight_(int fgame){ for(;;){ outside("Which player do you want to fight?");2 行未改动 if(lan==1){ cout<<"You can't fight with you!"<<endl; }else{ cout<<"你不能和你自己战斗!"<<endl; } } }else{ break; } }279 行未改动全部展开 case 4:move3+=5;moved(b);break; case 5:move3+=10;moved(b);break; case 6:nowx[j]=(random(100));nowy[j]=(random(100));moved(b);break; case 7:nowx[j]=st[going=(random(30))][0];nowy[j]=st[going][1];prop[j][10]--;prop[j][6]--;moved(b);break; case 8:outside("Prohibited use!");dcm();break; case 8:outside("Prohibited use!");dcm();break; case 9:boo();moved(b);break; case 10:fight_(b);prop[j][10]--;prop[j][9]--;moved(b);break; }}178 行未改动全部展开 system("pause"); outside("GOGOGO");sleep(1); system("cls"); double tim=(double)clock()/CLOCKS_PER_SEC; short ran=-32767; short ran=-32767; for(;;){ char go; SetPos(0,1); for(int i=0;i<9;i++){42 行未改动void minigame(){ cout<<"MINI GAME"<<endl; minigame1();}int main(){ int main(){ qnn(); int m,m2,ran,ran2,s=0; char mm,mm2,ee; memset(nowx,0,sizeof(nowx));31 行未改动 cout<<"----Press three to view update log---"<<endl; }else{ cout<<"-------------按1查看帮助-------------"<<endl; cout<<"------------按2不查看帮助------------"<<endl; cout<<"-----------按3查看更新日志-----------"<<endl; cout<<"-----------按3查看更新日志-----------"<<endl; } mm2=getch(); m2=mm2-48; cout<<m2<<endl; if(lan==2){ cout<<" 开始 "<<endl; cout<<"小贴士:按h查看帮助。"<<endl;//h=88 }else{ cout<<" GO "<<endl; cout<<"Tip:Press 'h' to view help"<<endl; cout<<"Tip:Press 'h' to view help"<<endl; } if(mm2=='#'){ do_you_want_to_open_the_debug+=1; }40 行未改动 a2[i][j]=a[i][j]; a3[i][j]=a[i][j]; countbymap++; SetPos(0,0); if(lan==2){ if(lan==2){ cout<<countbymap<<"/10000 加载中..."<<endl; }else{ cout<<countbymap<<"/10000 loading..."<<endl; cout<<countbymap<<"/10000 loading..."<<endl; } usleep(10); } }2 行未改动 say(); }else if(m2==3){ say2(); } if(lan==2){ if(lan==2){ cout<<"加载中..."<<endl; }else{ cout<<"loading..."<<endl; }20 行未改动 a3[ran][ran2]=7; } system("cls"); for(int i=0;i<100;i++){ for(int j=0;j<100;j++){ for(int j=0;j<100;j++){ colour(a[i][j]); cout<<a[i][j]<<" "; if(a[i][j]==7){ st[s][0]=i;75 行未改动 } if(debug){ int inputmoney=0; if(debug2=="stop"){ game=32767; game=32767; } if(debug2=="P1's money++"){ outside("Input number."); cin>>inputmoney;30 行未改动