3d problem with a simple title game

you can remove the rotation from my code, I just wanted to demonstrate how to place cubes in 3D.

what is your question again?

I don’t have time, my apologies