I'm not at all sure this is the right place, but the Uni Playing Fields seem to be in St Leonards Road, St Andrews.
If you stick that address into Google Maps you'll see the street in relation to the town and the main roads.
If you then click the "Satellite" button on Google Maps you'll get the aerial photo version, which shows a sports hall/Pavilion at the very top of St Leonards Rd, with a football park next to the pavilion.
That's where I'll be heading.
If you need driving directions to there click the "Get Directions" link at the top left of the Google page.