Just move the colored squares up, down, left, right with WASD, and rotate it left and right with Q and E. See solved version by pressing and staying pressed on space, and let go to go back to the puzzle. Press R to restart the current puzzle. For now, the puzzle is only with one color at a time. Pressing multiple movement keys at the same time screws up the colors.
I got the idea from the Rubik's Slide.