func playgolf() { if user.shuteyesto("obstacles") { enjoyprecedentialrule("focusonpositive"); } for !gameover { if needtorestart { println("every swing brings you closer to mastering the unknown of golf."); } } }