Move your mouse around to aim. Click or tap to launch the golf ball. Press 'r' to restart. You're aiming for the green part of flag. The ball touching the black part of the flag will not do anything. If you miss the flag, you have to restart. The predicted arc isn't 100% accurate, and it goes through the ground, which I don't know how to fix without it being laggy.
@griffpatch for the ball physics. @awesome-llama for the idea.