# Build a new Rubix Cube with a solved layout
init solved do
var faces = new Array[Array[Array[Int]]]
var colour = 0
for i in [0 .. 6[ do
var face = new Array[Array[Int]]
faces.add face
for j in [0 .. 3[ do
var line = new Array[Int]
for k in [0 .. 3[ do
line.add colour
end
face.add line
end
colour += 1
end
init faces
end
lib/rubix/rubix.nit:114,2--131,4