Engine prototype #13

Merged
glen merged 133 commits from engine-proto into main 2024-10-21 03:18:48 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 19a4d49497 - Show all commits

View File

@ -12,22 +12,22 @@ for j in 1:9
for k in 1:9 for k in 1:9
filled = false filled = false
if j == 9 if j == 9
if (k <= 5 && k != 2) if k <= 5 && k != 2
push!(values, 0) push!(values, 0)
filled = true filled = true
end end
elseif k == 9 elseif k == 9
if (j <= 5 && j != 2) if j <= 5 && j != 2
push!(values, 0) push!(values, 0)
filled = true filled = true
end end
elseif j == k elseif j == k
push!(values, 1) push!(values, 1)
filled = true filled = true
elseif (j == 1 || k == 1) elseif j == 1 || k == 1
push!(values, 0) push!(values, 0)
filled = true filled = true
elseif (j == 2 || k == 2) elseif j == 2 || k == 2
push!(values, -1) push!(values, -1)
filled = true filled = true
end end

View File

@ -24,7 +24,7 @@ for j in 1:6
elseif j == k elseif j == k
push!(values, 1) push!(values, 1)
filled = true filled = true
elseif (j <= 4 && k <= 4) elseif j <= 4 && k <= 4
push!(values, -1/BigFloat(3)) push!(values, -1/BigFloat(3))
filled = true filled = true
else else