搜索资源列表
俄罗斯方块游戏的抽象类
- 该类内部维护了一个矩阵,是由俄罗斯方块抽象出来的 矩阵的每个元素代表方格中的每个单元格,1代表该格有方块,0没有 该类的所有方法都是围绕这个核心矩阵来操作的-internal safeguard such a matrix by Russian abstract squares of the matrix elements of each representative of each grid cells, a representative of the grid with squares 0
chess
- 这个游戏很简单,只需要自定义5个小函数来实现,可以加深对数组的理解。它包含有3个头文件。 check (void) 是用来判断是否获胜, init_matrix(void) 是用来初始化每个单元, get_player_move() 是用来实现自己下棋, get_computer_move() 是用来实现电脑下棋, 而 disp_matrix() 是用来完成显示的功能 -This game is very simple, only needs
