使用javascript canvas实现的五子棋
摘要:
1 (function (doc, win) { 2 var options = { 3 row: 9, 4 line: 9, 5 width: 360, 6 height: 360 7 }; 8 var tempSteps = []; 9 var stars = {}; 10 var step = 0; 11 var canvas = document.createElement('canvas'); 12 var qizi = { white: '○'... 阅读全文
posted @ 2013-08-05 12:39 黑面大生 阅读(381) 评论(0) 推荐(0) 编辑