Golf+Card+Script

Write a program which plays a simple game of golf by:
 * Specification **
 * displays a putting green with the flag a random distance away from the ball
 * asks the user to guess the distance
 * moves the ball that distance
 * displays whether or not is in the hole
 * displays a score (number of putts holed compared to number of putts taken)

Download the stack **Golf**.
 * Code **

Part 1 - the card script

Write click anywhere on the blue background of the card and choose //**Edit Card Script**//. Enter the code below