搜索资源列表
Snake
- 贪吃蛇游戏 操作方法: 键盘方向键控制蛇的运动方向。 蛇吃到食物时,计分器会加10分,同时蛇身加长一截。 窗口左上角显示当前分数。 如果蛇碰撞到自身或窗口边界,报出分数,游戏结束。 编写思路: 容器对象actors:索引 对象 类名 0 分数 Score 1 食物 Food 2 蛇头 SnakeHead (Snake类的子类) 3 蛇身(蛇的第二截) Snake 4 蛇身(蛇的第三截)
Square
- 俄罗斯方块,供初学者学习以熟悉MFC的自定义函数等入门知识!-Tetris, for beginners to learn to become familiar with the MFC-defined functions, etc. started!
2048
- 本程序为c编写的游戏2048,主要运用了库函数和自定义函数。-The procedure for the preparation of the game c 2048, the main use of the library functions and custom functions.