HTML--五子棋JS

1.首先設置畫布 HTML: <div style="width: 600px;margin: 0 auto;border: 5px solid black;background: #e7e7e7;"> <canvas width="600px" height="600px" id="canvas" onclick="play()"></canvas> </div> JS: var canvas=
相關文章
相關標籤/搜索