◀ quadrants

Quadrants

Four colored zones split by y, then x or z ┐(´~`)┌

← 01-replicube-tutorial-projects

Quadrants

GridCode SizeLeaderboardCyclesLeaderboardDate
7x7x721#285.673#106652026-02-23

Solution

return y>0 and(x>0 and 11 or 8)or z>0 and 13 or 7

How it works

One nested and/or chain does it all:

ysecondaryColor
y > 0x > 0LIGHTGREEN (11)
y > 0x <= 0ORANGE (8)
y <= 0z > 0BLUE (13)
y <= 0z <= 0RED (7)

Top half splits on x, bottom half splits on z. Just 1 token away from #1… we’ll be back for it (⌐■_■)