資源簡介
在VC上調試通過,附源代碼
代碼片段和文件信息
#include?
#include?
#include?
#include?
const?int?back?=?30;
const?int?speed[]?=?{0?12?9?6?3?1};
const?int?number[]?=?{0?2?3?5?7?11?15};
const?int?col[]?=?{11?15?12?12?13?13?14};
int?rank?=?1;
int?level?=?0;?//0表示既不是向右也不是向左,1表示向左,2表示向右
int?kind;
int?pri_kind;??//?7大類,顏色標記,調用col[col_kind];
int?revolve?=?0;?//?旋轉狀態標記
struct
{
????int?x;
????int?y;
}?current?before;
struct
{
????int?x;
????int?y;
????int?color;
????bool?having;
}?board[15][25];
struct
{
????int?vary_x[4];
????int?vary_y[4];
}?vary[]?=
{
????{{0?2?4?6}?{0?0?0?0}}?{{0?0?0?0}?{0?-1?-2?-3}}
????{{0?2?2?0}?{0?0?-1?-1}}?{{0?-2?-2?-4}?{0??0?-1?-1}}
????{{0?0?2?2}?{0?-1?-1?-2}}?{{0?2?2?4}?{0?0?-1?-1}}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-02-16?23:41??俄羅斯方塊\
?????目錄???????????0??2012-02-16?23:41??俄羅斯方塊\Debug\
?????文件??????148480??2012-02-16?23:41??俄羅斯方塊\Debug\vc60.idb
?????文件???????77824??2012-02-16?23:41??俄羅斯方塊\Debug\vc60.pdb
?????文件??????221235??2012-02-16?23:41??俄羅斯方塊\Debug\俄羅斯方塊.exe
?????文件??????245316??2012-02-16?23:41??俄羅斯方塊\Debug\俄羅斯方塊.ilk
?????文件???????36135??2012-02-16?23:41??俄羅斯方塊\Debug\俄羅斯方塊.obj
?????文件?????3577004??2012-02-16?23:41??俄羅斯方塊\Debug\俄羅斯方塊.pch
?????文件??????582656??2012-02-16?23:41??俄羅斯方塊\Debug\俄羅斯方塊.pdb
?????文件???????13496??2012-02-22?16:06??俄羅斯方塊\俄羅斯方塊.cpp
?????文件????????3451??2012-02-16?23:40??俄羅斯方塊\俄羅斯方塊.dsp
?????文件?????????528??2012-02-16?23:41??俄羅斯方塊\俄羅斯方塊.dsw
?????文件???????26794??2012-02-16?15:26??俄羅斯方塊\俄羅斯方塊.exe
?????文件???????41984??2012-02-16?23:41??俄羅斯方塊\俄羅斯方塊.ncb
?????文件???????48640??2012-02-16?23:41??俄羅斯方塊\俄羅斯方塊.opt
?????文件????????1163??2012-02-16?23:41??俄羅斯方塊\俄羅斯方塊.plg
- 上一篇:C語言程序設計案例教程
- 下一篇:c高級編程技術
評論
共有 條評論