Tinker with example game
All checks were successful
Build & Test / nix-build (push) Successful in 1m46s
All checks were successful
Build & Test / nix-build (push) Successful in 1m46s
This commit is contained in:
parent
aa91e82cfa
commit
c9a3dec823
@ -50,7 +50,7 @@ defmodule Example.Game do
|
||||
gz = cz * 16 + z
|
||||
gy = y
|
||||
if rem(gx, 4) == 0 && rem(gy, 4) == 0 && rem(gz, 4) == 0 do
|
||||
{abs(rem(div(gx + gy + gz, 4), 1000)), 15, 15}
|
||||
{abs(rem(div(gx + gy + gz, 4), 300)), 15, 15}
|
||||
else
|
||||
{0, 15, 15}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user