js+canvas实现象棋的布局、走棋位置提示、走棋代码
摘要:
不支持canvas class Chess{ constructor(canvasId){ this.canvas = document.getElementById(canvasId); this.ctx = this.canvas.getContext("2d"); this.initCanv... 阅读全文
posted @ 2018-10-25 11:12 web得胜 阅读(2204) 评论(0) 推荐(3)