搜索资源列表
8_nums
- 一个九宫问题的源码,a星算法,深度优先广度优先算法都有-a JiuGongTu the source, a Star algorithm, depth-first algorithm has breadth priority
A_Star-puzzle
- 使用A星算法,解决8棋盘问题。但是有时会没有结果。-A star algorithm to solve the problem of the 8 board. But sometimes no results.
AStar
- 游戏中常用的寻路算法-A星算法 直接将此代码加到自己的程序中就能实现最短路径的查找-Game pathfinding algorithm commonly used algorithm-A star This added to the code directly own program to find the shortest path can be achieved
maze-game
- 一个用C语言写的迷宫游戏 定义一个8*8的格子,这64个格子是人物可以移动到的位置;障碍物定义为两个相邻格子之间的挡板,0或1两种状态。类似上述方法,可以定义整个迷宫的布局,64个格子,对应数目的挡板,迷宫出口,迷宫入口,小人,这些元素。 文件里,需要存储迷宫大小,挡板位置,出口,入口。 小人在任一位置,可以向四个方向移动,有挡板则可以移动,没挡板则不可以移动。 最优路径的提示,使用A星路径算法去做,实质是一个启发式广度优先遍历。-A written in C language