整理代码,goto标签名字统一格式方便理解

This commit is contained in:
MrZ626
2021-03-25 12:50:33 +08:00
parent 053a5a55e6
commit 742e9419be
8 changed files with 28 additions and 28 deletions

View File

@@ -146,11 +146,11 @@ local function getScore(field,cb,cy)
for i=cy+#cb-1,cy,-1 do
for j=1,10 do
if field[i][j]==0 then goto continue end
if field[i][j]==0 then goto CONTINUE_notFull end
end
discardRow(rem(field,i))
clear=clear+1
::continue::
::CONTINUE_notFull::
end
if #field==0 then return 1e99 end--PC
for x=1,10 do