搜索资源列表
EatBeansGame
- C#语言写的一款吃豆子二维小游戏,较简单,适合初学者学习-C# language to write a two-dimensional game to eat beans, is relatively simple, suitable for beginners to learn
MAZE
- 本文介绍了一种随机生成二维迷宫的方法,并指出了该方法的几个关键点,即如何生成连接起点和终点的通路,如何实现强连通图,以及如何绘制迷宫和捕获键盘事件的编程技巧。虽然代码不多,却实现了一个较为完整的迷宫游戏,希望能为游戏编程爱好者们起到参考作用-We can use this program to detect the main frequency of CPU by using RDTSC instructor.
c_tuixiangzi
- 纯C语言写的推箱子游戏。推箱子游戏是一款很有趣味的游戏,其开发过程有一定的技巧和方法,其中涉及到软中断、二维数组、键盘操作以及图形化函数等方面的知识。-Pure C language to write Sokoban game. Sokoban game is a very interesting game, certain skills and methods in the development process, which comes to the knowledge of the sof
Maze-code
- 以一个m×n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。首先用二维数组存储迷宫数据,迷宫数据由用户输入。一个以链表作存储结构的栈类型,然后编写一个求解迷宫的递归或非递归程序。求得的通路以三元组(i,j,d)形式输出,其中:(i,j)指示迷宫中的一个坐标,d表示走到下一坐标的方向(东、南、西、北四个方向所用代表数字,自行定义) -With an m × n the long square maze, 0 an
Instant-memory-test
- 一款记忆力考验的小游戏,根据游戏难度,随机产生一个4*4或4*5或6*6的二维数组,填入不同的符号,测试者通过输入坐标,指定记忆中相同的两个(或三个)符号的位置。-A memory test game, according to the difficulty of the game, randomly generated two-dimensional array of a 4* 4* 4 or 5 or 6* 6, fill different symbols, testers by ente