sdk实现的俄罗斯方块

终于自己写了个俄罗斯方块。。 代码还没来的及整理,比较乱。。。 图形的数据结构:每一组表示一类(代码中为shape_num)图形的四种变形(代码中为shape_direction).数字表示第几个方块是图形的组成块。 #ifndef block_h#define block_hint shape[7][4][4]={ { {0,1,5,9}, {2,4,5,6}, {0,4,8,9}, {0,1,2,4} }, { {0,1,4,8}, {0,1,2,6}, {1...
默认分类 | 2011-01-18 14:56 | 阅读 1202 次 | 评论 7 条
浏览2125次
文章分类