Move the club with your mouse. Rotate it with the left/right arrow keys. The ball goes where the club is pointing.
Notes: Made because of Gator Golf in Security Breach. Credits: Coding with Chris on YouTube because I can't code. Me for making this. You for watching this.