random logic remove

This commit is contained in:
Empathic Qubit 2021-05-09 00:28:38 -04:00
parent 8233847f46
commit 7ef36d98f2
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ _M.State = {
"MainbraceMayhemTopOfRope.lsmv", -- [6] "MainbraceMayhemTopOfRope.lsmv", -- [6]
} }
_M.Filename = _M.PoolDir .. _M.State[1] _M.Filename = _M.PoolDir .. _M.State[6]
--[[ --[[
Start game with specific powerup. Start game with specific powerup.
@ -43,7 +43,7 @@ _M.StartPowerup = 0
_M.NeatConfig = { _M.NeatConfig = {
DisableSound = true, DisableSound = true,
Threads = 7, Threads = 7,
ShowInterface = true, ShowInterface = false,
--Filename = "DP1.state", --Filename = "DP1.state",
SaveFile = _M.Filename .. ".pool", SaveFile = _M.Filename .. ".pool",

Binary file not shown.

View file

@ -640,7 +640,7 @@ local function mainLoop(_M, genome)
-- Continue if we haven't timed out -- Continue if we haven't timed out
local timeoutBonus = _M.currentFrame / 4 local timeoutBonus = _M.currentFrame / 4
if _M.timeout + timeoutBonus > 0 or _M.currentFrame % 5 ~= 0 then if _M.timeout + timeoutBonus > 0 then
return mainLoop(_M, genome) return mainLoop(_M, genome)
end end