Use Arrow Keys to rotate the cube. It can be rotated left/right but only when viewed from the front (Dirt). It can only be rotated down when viewed from the top and only be rotated up when viewed from the front. Mobile users will have to look into the code I'm afraid :(.
The beginning of a new unique game idea I'm working on. You'll see soon!