RandomCubes Sample exercise from the text Intro to Game Design, Prototyping and Development 2nd Edition, page 383.