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