Jez,
there is a blog about it somehwhere in here, but if memory serves, it is score on final hole...then if not resolved, final 3 holes...and so forth back to to the start...(that may be off slightly, and it varies again from 9 holes to 18 holes depending)
Hope that helps..and good luck!
=bk=