版本比较
2048
正文
增加 9 行删除 9 行
7 行未改动891011121312131415161718181920212220 行未改动4344454647474849505150 行未改动10210310410510610610710810911034 行未改动14514614714814914915015115215397 行未改动2512522532542552552562572582592602602612622632642652662672672682692702712727 行未改动
```cpp/* Section: 2 Update: 无需换行 Name: 2048小游戏 Update: 无需换行 Name: 2048小游戏 Copyright: No Author: FGX*/#include<bits/stdc++.h>#include<conio.h> #include<conio.h>#include<windows.h>#include<string>#include<fstream>#include<time.h>20 行未改动long long cal(long long x){ long long num=0; do num++,x/=10; while(x>0); return num; return num;}void SetFont(double size) { CONSOLE_FONT_INFOEX cfi; cfi.cbSize=sizeof cfi;50 行未改动 if(x==8192) return "A J E"; if(x==16384) return " A U "; if(x==32768) return " A K "; if(x==65536) return "I O I"; } }}void print(){ cout<<"分数"<<score<<endl; cout<<"—————————————"<<endl;34 行未改动 mp[i][j]=0; score=0; new_mp(),new_mp(); while(check()){ bool flag=false; bool flag=false; print(); cout<<"你的操作(上,下,左,右):"<<endl; do choose=getch(); while((int)choose!=72&&(int)choose!=80&&(int)choose!=75&&(int)choose!=77);97 行未改动 system("cls"); } if(skin==1) cout<<"游戏结束"<<endl; else if(skin==2) cout<<"AFO"<<endl; cout<<"你得了"<<score<<"分"<<endl; cout<<"你得了"<<score<<"分"<<endl; Sleep(1000); } else if(choose=='2'){ cout<<"1.传统数字(1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536)"<<endl; cout<<"2.程序员(CE WJ RE TLE MLE ILE OLE UKE WA PC AC PE DOJ SJE AU AK)"<<endl; cout<<"2.程序员(CE WJ RE TLE MLE ILE OLE UKE WA PC AC PE DOJ SJE AU AK)"<<endl; do choose=getch(); while(choose!='1'&&choose!='2'); if(choose=='1') skin=1; else if(choose=='2') skin=2; } }} }```
### 如果喜欢点个赞吧,顺便留言你玩得多好
### 要更新或有bug下方说⬇️哦