Alpha V0.7.5

This commit is contained in:
MrZ_26
2020-02-04 19:30:42 +08:00
parent e281634f72
commit e7c797bf14
9 changed files with 175 additions and 150 deletions

9
ai.lua
View File

@@ -112,7 +112,7 @@ function getScore(field,bn,cb,cx,cy)
ins(freeRow,height)
score=
#field*20
-cy*40
-cy*35
-#cb*25
+clearScore[clear]*(8+#field)
-hole*50
@@ -167,4 +167,11 @@ function AI_getControls(ctrl)
ins(ctrl,l[i])
end
ins(ctrl,6)
if rnd()<.1 then
if P.atkMode~=4 and P==mostDangerous then
ins(P.ai.controls,9)
--Smarter AI???
end
end
end