象棋打谱小程序源码.zip

上传者: 47367099 | 上传时间: 2022-06-08 19:10:06 | 文件大小: 270KB | 文件类型: ZIP
象棋打谱小程序 布局篇 整个棋盘区域从低往上共分为三层: 棋盘部分:包括背景图、棋盘网格、田字格斜线、炮位置标识、兵/卒位置标识以及楚河汉界 棋子部分:包括红方和黑方共32个棋子 操作标识部分:包括当前选中的棋子标识和可移动的位置标识 棋盘绘制 在画布中,整个棋盘部分属于不可变的一层。其中棋盘部分具有以下几个特征: 由10条横线和9条竖线组成一个交叉网 上下留有间距,且间距相同 左右留有间距,且间距相同(实现水平居中的效果) 红方和黑方的将所在的位置,分别有两条斜线,标识“士”的运行路线 红方和黑方每一个炮的位置,有一个双纹十字标识 红方和黑方每一个兵/卒的位置,有一个双纹十字标识 中间有一条水平分隔,叫做“楚河汉界”,其中楚河汉界内没有网格线

文件下载

资源详情

[{"title":"( 45 个子文件 270KB ) 象棋打谱小程序源码.zip","children":[{"title":"chess-demonstration-miniprogram-main","children":[{"title":".gitignore <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"typings","children":[{"title":"types","children":[{"title":"index.d.ts <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"wx","children":[{"title":"lib.wx.page.d.ts <span style='color:#111;'> 10.58KB </span>","children":null,"spread":false},{"title":"lib.wx.behavior.d.ts <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"lib.wx.event.d.ts <span style='color:#111;'> 41.96KB </span>","children":null,"spread":false},{"title":"lib.wx.app.d.ts <span style='color:#111;'> 10.47KB </span>","children":null,"spread":false},{"title":"lib.wx.cloud.d.ts <span style='color:#111;'> 27.25KB </span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"lib.wx.component.d.ts <span style='color:#111;'> 28.95KB </span>","children":null,"spread":false},{"title":"lib.wx.api.d.ts <span style='color:#111;'> 854.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"index.d.ts <span style='color:#111;'> 204B </span>","children":null,"spread":false}],"spread":true},{"title":"project.config.json <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 811B </span>","children":null,"spread":false},{"title":"miniprogram","children":[{"title":"components","children":[{"title":"CursorCanvas","children":[{"title":"CursorCanvas.json <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"CursorCanvas.ts <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"CursorCanvas.less <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"CursorCanvas.wxml <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"utils","children":[{"title":"util.ts <span style='color:#111;'> 14.20KB </span>","children":null,"spread":false},{"title":"checkMove.ts <span style='color:#111;'> 5.93KB </span>","children":null,"spread":false},{"title":"constants.ts <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"step.ts <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"sitemap.json <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"interface","children":[{"title":"index.ts <span style='color:#111;'> 408B </span>","children":null,"spread":false}],"spread":true},{"title":"pages","children":[{"title":"index","children":[{"title":"index.wxml <span style='color:#111;'> 814B </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"index.less <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"index.json <span style='color:#111;'> 46B </span>","children":null,"spread":false}],"spread":true},{"title":"learnPage","children":[{"title":"index.wxml <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 7.46KB </span>","children":null,"spread":false},{"title":"index.less <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"index.json <span style='color:#111;'> 158B </span>","children":null,"spread":false}],"spread":false},{"title":"logs","children":[{"title":"logs.ts <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"logs.json <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"logs.wxml <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"logs.less <span style='color:#111;'> 106B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"app.json <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":"app.less <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"app.ts <span style='color:#111;'> 360B </span>","children":null,"spread":false},{"title":"data","children":[{"title":"steps.ts <span style='color:#111;'> 23.70KB </span>","children":null,"spread":false},{"title":"books.ts <span style='color:#111;'> 5.30KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".husky","children":[{"title":"pre-commit <span style='color:#111;'> 69B </span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"qrcode.jpg <span style='color:#111;'> 71.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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