Hai! @cs1842311 here! This is a school project but enjoy anyway! When you get the cue, press the up arrow. The black wil disappear when you hit the flag.
Thanks @DrWho3874 December 11, shared December 17, edited and proofread code