Human: I'm a beginner at golf. What are the basic rules of the game? Assistant: 

1. The object of the game is to hit the ball into the hole with the fewest number of strokes possible.
2. The golf course should be free from any obstructions and hazards that could interfere with your shot.
3. Players should keep their clubs in their bag during play, except when they are addressing the ball or making a swing.
4. When playing a shot, it is important to line up the clubface square to the target and make sure you have an even stance.
5. To complete a stroke, the player must contact the ball with the clubhead and follow through until the ball has left the clubface.
6. A penalty stroke will be given if the ball moves on the green after being struck by the player's club.
7. It is also against the rules to touch the flagstick, water, sand, or other objects while playing a stroke.