Just like at the local putt putt, but from your desk instead.
Place your ball on the mat using your mouse, Click the left mouse button to drop it. To aim your shot, move the mouse in the opposite direction you wish to shoot. The longer the line, the more powerful the shot will be. Push the left mouse button to click.