用C语言写的2048小游戏

#include <stdio.h> #include <time.h> #include <stdlib.h> #include <conio.h> /* 1.绘制游戏界面 2.随机生成数字 1.从剩余空位中随机生成 3.移动数字 4.判断输赢 */ int score;//得分 int best;//最高分 int board[4][4]; int x[16];//存储随机数的横坐标 int
相关文章
相关标签/搜索