Tinker with example game
All checks were successful
Build & Test / nix-build (push) Successful in 1m46s

This commit is contained in:
Kodi Craft 2024-10-08 10:29:01 +02:00
parent aa91e82cfa
commit c9a3dec823
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

@ -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