自定义场地消行按钮可以消除20行以上的部分
移除测试用代码
This commit is contained in:
@@ -115,10 +115,7 @@ local function _pDraw()
|
|||||||
penPath={}
|
penPath={}
|
||||||
penMode=0
|
penMode=0
|
||||||
|
|
||||||
while #F>0 and isEmpty(F[#F])do
|
while #F>0 and isEmpty(F[#F])do rem(F)end
|
||||||
rem(F)
|
|
||||||
end
|
|
||||||
print(#F)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function scene.sceneInit()
|
function scene.sceneInit()
|
||||||
@@ -201,7 +198,7 @@ function scene.keyDown(key)
|
|||||||
elseif key=="l"then
|
elseif key=="l"then
|
||||||
local F=FIELD[page]
|
local F=FIELD[page]
|
||||||
local cleared=false
|
local cleared=false
|
||||||
for i=20,1,-1 do
|
for i=#F,1,-1 do
|
||||||
for j=1,10 do
|
for j=1,10 do
|
||||||
if F[i][j]<=0 then goto CONTINUE_notFull end
|
if F[i][j]<=0 then goto CONTINUE_notFull end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user