A*自动寻路算法实现(java)

上传者: w110713121 | 上传时间: 2021-03-08 21:04:06 | 文件大小: 460KB | 文件类型: ZIP
下载本程序仅可演示A*自动寻路算法实现(java),该程序是基于我写的网络版贪吃蛇基础上编写的(网络版贪吃蛇下载地址:https://download.csdn.net/download/w110713121/15657669)。wasd键控制太阳的方向,鼠标左击目的地,会根据A*自动寻路算法计算出一条最优路线,太阳按最优路线移动。

文件下载

资源详情

[{"title":"( 56 个子文件 460KB ) A*自动寻路算法实现(java)","children":[{"title":"netnibbles","children":[{"title":"bin","children":[{"title":"img","children":[{"title":"spirit.png <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"astar","children":[{"title":"AstarPathFinder.class <span style='color:#111;'> 7.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"window","children":[{"title":"NibblesFrame$4.class <span style='color:#111;'> 717B </span>","children":null,"spread":false},{"title":"NibblesFrame$5.class <span style='color:#111;'> 717B </span>","children":null,"spread":false},{"title":"NibblesFrame.class <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"NibblesFrame$1.class <span style='color:#111;'> 836B </span>","children":null,"spread":false},{"title":"NetFrame.class <span style='color:#111;'> 456B </span>","children":null,"spread":false},{"title":"ConnDialog$1.class <span style='color:#111;'> 692B </span>","children":null,"spread":false},{"title":"ConnDialog.class <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"ConnDialog$2.class <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"NibblesCanvas.class <span style='color:#111;'> 9.53KB </span>","children":null,"spread":false},{"title":"NibblesCanvas$1.class <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"NibblesCanvas$2.class <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"NibblesFrame$2.class <span style='color:#111;'> 821B </span>","children":null,"spread":false},{"title":"NibblesFrame$3.class <span style='color:#111;'> 821B </span>","children":null,"spread":false}],"spread":false},{"title":"net","children":[{"title":"msg","children":[{"title":"Msg.class <span style='color:#111;'> 532B </span>","children":null,"spread":false},{"title":"NibblesNewMsg.class <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false},{"title":"NibblesChangeDirMsg.class <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"NibblesClient.class <span style='color:#111;'> 5.98KB </span>","children":null,"spread":false},{"title":"ClientDatagramPacketHandller.class <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"astar","children":[{"title":"Spirit.class <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"RoadLine.class <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"Location.class <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"NibbleBody.class <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"Wall.class <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"Food.class <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"Nibble.class <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"Dir.class <span style='color:#111;'> 998B </span>","children":null,"spread":false},{"title":"Dir8.class <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"intf","children":[{"title":"NibblesContainer.class <span style='color:#111;'> 689B </span>","children":null,"spread":false}],"spread":true},{"title":"start","children":[{"title":"NibblesRunner.class <span style='color:#111;'> 446B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"img","children":[{"title":"spirit.png <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"astar","children":[{"title":"AstarPathFinder.java <span style='color:#111;'> 12.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"window","children":[{"title":"NetFrame.java <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"ConnDialog.java <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"NibblesCanvas.java <span style='color:#111;'> 11.32KB </span>","children":null,"spread":false},{"title":"NibblesFrame.java <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"net","children":[{"title":"msg","children":[{"title":"Msg.java <span style='color:#111;'> 809B </span>","children":null,"spread":false},{"title":"NibblesChangeDirMsg.java <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"NibblesNewMsg.java <span style='color:#111;'> 4.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"ClientDatagramPacketHandller.java <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"NibblesClient.java <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"astar","children":[{"title":"Location.java <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"RoadLine.java <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"Spirit.java <span style='color:#111;'> 10.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"NibbleBody.java <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"Food.java <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"Nibble.java <span style='color:#111;'> 13.49KB </span>","children":null,"spread":false},{"title":"Wall.java <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"util","children":[{"title":"Dir.java <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"Dir8.java <span style='color:#111;'> 169B </span>","children":null,"spread":false}],"spread":true},{"title":"intf","children":[{"title":"NibblesContainer.java <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"start","children":[{"title":"NibblesRunner.java <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 293B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"fastjson-1.2.7.jar <span style='color:#111;'> 407.44KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明