klotski:解决klotski游戏JavaScript算法-源码

上传者: 42136477 | 上传时间: 2021-02-02 16:37:40 | 文件大小: 892KB | 文件类型: ZIP
华容道 用于解决klotski游戏的快速JavaScript引擎。 安装 node.js 使用npm安装: $ npm install klotski 浏览器 使用凉亭: $ bower install klotski 如果您未使用任何模块加载器系统,则可以通过window.Klotski对象访问该API。 CDN 现在也始终可以在获得最新版本。 < script src =" https://unpkg.co/klotski/dist/klotski.min.js " > </ script > 用法 默认用法 var Klotski = require ( 'klotski' ) ; var klotski = new Klotski ( ) ; var game = { blocks : [ { "shape" : [ 2 , 2 ] , "position" : [ 0 , 1 ] } , { "shape" : [ 2 , 1 ] , "position" : [ 0 , 0 ] } , { "shape" : [ 2 , 1 ] ,

文件下载

资源详情

[{"title":"( 61 个子文件 892KB ) klotski:解决klotski游戏JavaScript算法-源码","children":[{"title":"klotski-master","children":[{"title":".travis.yml <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":".eslintrc <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"images","children":[{"title":"11.png <span style='color:#111;'> 17.87KB </span>","children":null,"spread":false},{"title":"40.png <span style='color:#111;'> 16.89KB </span>","children":null,"spread":false},{"title":"16.png <span style='color:#111;'> 16.56KB </span>","children":null,"spread":false},{"title":"32.png <span style='color:#111;'> 16.97KB </span>","children":null,"spread":false},{"title":"29.png <span style='color:#111;'> 13.87KB </span>","children":null,"spread":false},{"title":"22.png <span style='color:#111;'> 15.53KB </span>","children":null,"spread":false},{"title":"17.png <span style='color:#111;'> 16.41KB </span>","children":null,"spread":false},{"title":"24.png <span style='color:#111;'> 14.77KB </span>","children":null,"spread":false},{"title":"10.png <span style='color:#111;'> 17.77KB </span>","children":null,"spread":false},{"title":"19.png <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"5.png <span style='color:#111;'> 17.58KB </span>","children":null,"spread":false},{"title":"38.png <span style='color:#111;'> 17.44KB </span>","children":null,"spread":false},{"title":"9.png <span style='color:#111;'> 17.84KB </span>","children":null,"spread":false},{"title":"34.png <span style='color:#111;'> 18.28KB </span>","children":null,"spread":false},{"title":"35.png <span style='color:#111;'> 15.53KB </span>","children":null,"spread":false},{"title":"cover-min.png <span style='color:#111;'> 136.49KB </span>","children":null,"spread":false},{"title":"32-mirror.png <span style='color:#111;'> 16.96KB </span>","children":null,"spread":false},{"title":"25.png <span style='color:#111;'> 14.99KB </span>","children":null,"spread":false},{"title":"21.png <span style='color:#111;'> 16.06KB </span>","children":null,"spread":false},{"title":"27.png <span style='color:#111;'> 14.21KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 17.44KB </span>","children":null,"spread":false},{"title":"39.png <span style='color:#111;'> 15.48KB </span>","children":null,"spread":false},{"title":"14.png <span style='color:#111;'> 16.42KB </span>","children":null,"spread":false},{"title":"33.png <span style='color:#111;'> 16.28KB </span>","children":null,"spread":false},{"title":"28.png <span style='color:#111;'> 17.55KB </span>","children":null,"spread":false},{"title":"23.png <span style='color:#111;'> 15.52KB </span>","children":null,"spread":false},{"title":"18.png <span style='color:#111;'> 15.74KB </span>","children":null,"spread":false},{"title":"30.png <span style='color:#111;'> 17.86KB </span>","children":null,"spread":false},{"title":"37.png <span style='color:#111;'> 14.63KB </span>","children":null,"spread":false},{"title":"bfs.png <span style='color:#111;'> 70.80KB </span>","children":null,"spread":false},{"title":"6.png <span style='color:#111;'> 17.59KB </span>","children":null,"spread":false},{"title":"31.png <span style='color:#111;'> 15.53KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 17.25KB </span>","children":null,"spread":false},{"title":"12.png <span style='color:#111;'> 17.60KB </span>","children":null,"spread":false},{"title":"7.png <span style='color:#111;'> 17.74KB </span>","children":null,"spread":false},{"title":"4.png <span style='color:#111;'> 17.30KB </span>","children":null,"spread":false},{"title":"13.png <span style='color:#111;'> 16.63KB </span>","children":null,"spread":false},{"title":"36.png <span style='color:#111;'> 14.37KB </span>","children":null,"spread":false},{"title":"20.png <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"8.png <span style='color:#111;'> 17.95KB </span>","children":null,"spread":false},{"title":"26.png <span style='color:#111;'> 15.03KB </span>","children":null,"spread":false},{"title":"15.png <span style='color:#111;'> 16.81KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 17.78KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"Klotski-test.js <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"gulpfile.js <span style='color:#111;'> 687B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 237.23KB </span>","children":null,"spread":false},{"title":"dist","children":[{"title":"klotski.min.js <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 9.80KB </span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'> 482B </span>","children":null,"spread":false},{"title":"styles.css <span style='color:#111;'> 295B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"klotski.js <span style='color:#111;'> 14.82KB </span>","children":null,"spread":false},{"title":"hrd-games.json <span style='color:#111;'> 20.63KB </span>","children":null,"spread":false},{"title":"demo.js <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"custom-games.json <span style='color:#111;'> 662B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 10.18KB </span>","children":null,"spread":false},{"title":"release.js <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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