There are two golf courses in the town , Annanhill Golf Course and Caprington Golf Course , which has both an 18 hole course and a nine hole course . There are two golf courses in the town , Annanhill Golf Course and Caprington Golf Course , which has both an 18 hole course and a 9 hole course .