Rubic Cube Game WIP

Okay I had an idea to make a rubic cube game in blender. The main problem right now is I can’t figure out how to get a group of objects to rotate one direction then another. I want to use the mouse to rotate the rubic cube sides and the arrow keys will rotate the view. Any Ideas?:smiley: :smiley: