Just try and let the balls not touch the mouse! (If you try and cheat by getting the mouse out of the screen, you'll lose.)
This was a small project by me, and I hope you enjoy it!