Golf

Get from the tee to the hole in as few shots as possible.

Starter Code Files

Download “Starter Python File: Golf” File size: 833 B


Download and unzip this starter code file to your Golf project folder

Images and Audio

Download “Images and audio for Golf” File size: 63 KB


Download and unzip these image and audio files to your Golf project folder

Book of Code

Download “Book of Code: Golf” File size: 501 KB


Copy the Golf program from the Book of Code into your Python IDE

Like this project?

Golf is available completely free, so if you like it, why not…

Buy us a coffeeBuy me a coffee

Video Tutorials

1. String Variable: slider_direction

Watch first: Alien Invasion Strings

Difficulty: 2

2. List: hole_strokes

Watch first: Forest Bomber Lists

Difficulty: 4

3. For Loops

Watch first: Snapper Integer Variables 2

Difficulty level: 3

4. If: Draw the Flag

Watch first: Snapper If and Elif

Difficulty level: 2

5. Or

Watch First: Alien Invasion And

Difficulty: 3

6. Random Flag

Watch first: Snapper Random Randint

Difficulty: 4

7. Move Ball Logic

Watch first: Golf Random Flag

Difficulty: 5

8. Nested If

Watch First: Random Flag Placement

Difficulty: 4

9. Variable Names

Watch first: Snapper If Elif

Difficulty: 1

Like this project?

Golf is available completely free, so if you like it, why not…

Buy us a coffeeBuy me a coffee