简陋的2048小游戏
#include<stdio.h>
#include<time.h>
#include<stdlib.h>
#include<conio.h>
int j,table[5][5],i,num,t1[5][5];
bool ck=1;
inline bool check1()
{
int x,y;
for(x=1;x<=4;x++)
{
for(y=1;y<=4;y++)
if(table[x][y]== 2048) return 1;
}
retu
原创
2020-11-11 15:29:31 ·
220 阅读 ·
1 评论