The object is to hit your golf ball onto the floating green with the flag on it. In the process you have to play through other floating platforms that might contain sand traps, or other obstacles.
Control comes solely from the use of your mouse. Move the mouse around inside of the circle around your ball to control the trajectory as projected by the arrow. The farther the cursor is from the ball, the harder you are going to hit it.
The only bad thing about this game is that you have to refresh the page when the game is over. I don’t know why they didn’t put a “start over” in there, but I think you’ll find it’s not too steep of a price to pay for a little amusement.