搜索资源列表
SLGGame
- 介绍SLG游戏中的路径选择的程序,有模糊算法的部分。-SLG game on the path chosen for the procedure, fuzzy algorithm part.
TheStudyofAAlgorithminImplementingofGame
- 图搜索技术能够从图中寻找一条从起点到目标点的路径. 围绕游戏寻径问题,介绍了如何确定启发式函数进行启发式搜索,并把A*算法用程序加以实现,从而证明A*算法可以解决游戏中的寻径问题-Map search technology to search from a map to the target point from the starting point of the path. Around the game routing problem, describes how to determine
99
- 1)编程思路:本练习因为要制作拼图游戏,所以首先要实现图片的导入。这是通过getImage()函数来实现的,该函数有两个参数,第一个参数指明图片的路径,第二个参数指明图片的名称。然后,因为要实现图片摆放的随意性,所以要通过initgame()函数来实现。Initgame()函数是自写函数,在函数体内,通过调用Math.random()函数产生随机数,用来达到图片位置摆放的随意性和随机性。最后,因为要实现人机交互.,所以首先要通过一系列函数来实现对鼠标事件的监听和响应,这是通过函数addMouse
0801
- 学vc编游戏程序之求解最短路径,适合初学者-Solving learn vc series of games the shortest path, suitable for beginners
AStarAlgorithm
- A 星算法,用于游戏中机器人寻找路径,也可以解决8 puzzle 问题。-A* algorithm, used path finding in the game, can also resolve 8 puzzle problem