Restaurants that I've been to in St. Andrews that I would recommend - Little Italy, Forgans, Mitchell's, The Grange Inn.
Pubs - The Central, The Jigger Inn, The Criterion, The Keys
Have not been but need to - St. Andrews Brewing Company.
You have to take a drink at The Dunvagen as mentioned earlier - tell Jack and Sheena hi
If you are there on Sunday the Old Course is closed so you can walk it.
Other thoughts - if you are near Anstruther stop in at the Fish market for the best fish and chips in Scotland.
The Famous Grouse experience is a good place to visit for scotch tasting - it's at the Glenturrent Distillery whcih is the oldest in Scotland.
Famous Grouse