If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Fix the pieces exactly on the picture frame. Use mouse to fix the pieces. Click on the pieces to change its direction.
This game is played with mouse only.