© Mark Cunningham 2020
M. CunninghamGame Programming with Code Angelhttps://doi.org/10.1007/978-1-4842-5305-2_13

13. Golf part 1: On the tee

Mark Cunningham1 
(1)
Edinburgh, Scotland
 

‘So here we are in Scotland, the home of golf, on the final day of The Open. Just three holes stand between this final pair of players and glory. Jim, what’s your take on the events that are about to unfold today?’

‘It’s neck and neck between Mitch Johnson and Tommy Miller here, Corey. I couldn’t possibly pick a winner from these two…’

Getting started

If you have made it this far, then well done! And of course, you know what’s coming next. We have 100 lines of initialization and setup code before we can get into the game proper. OK, let’s just roll our sleeves up and ...

Get Game Programming with Code Angel: Learn how to code in Python on Raspberry Pi or PC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.