【发布时间】:2012-03-12 22:01:45
【问题描述】:
我不确定问题出在哪里。有人知道为什么吗?
function check(board, color, row, col)
--if same color, change tile to "o"
if board[row][col] == color then -- attempt to index nil?
board[row][col] = "o"
count = count + 1
return "o"
end
return
结束
【问题讨论】: