用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
相關文章
相關標籤/搜索