已采纳回答 / scanf莺曲
已改好 建议多写 多练 var chessBoard = []; var me = true; var over = false; var count = 0;//赢法数组 var wins = [];//赢法的统计数组 var myWin = [];//统计我方的 var computerWin = [];//统计计算机的 for (var i = 0; i < 15; i++) { chessBoard[i] = []; ...
2017-06-14
已采纳回答 / 帅意
var chessBoard=[];var me=true;var over=false;//赢法数组var wins=[];//赢法统计数组var myWin=[];var computerWin=[];for(var i=0;i<15;i++){ chessBoard[i]=[]; for(var j=0;j<15;j++){ chessBoard[i][j]=0; }}for(var i=0;i<15;i++){ wins[i]=[]; for(var j=0;j<15;j...
2017-04-09