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
|
gz = cz * 16 + z
|
||||||
gy = y
|
gy = y
|
||||||
if rem(gx, 4) == 0 && rem(gy, 4) == 0 && rem(gz, 4) == 0 do
|
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
|
else
|
||||||
{0, 15, 15}
|
{0, 15, 15}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user