contact
There are internet facilities inside Costa Coffee Market Street, opposite the fountain, however, if you have your own laptop, there are wireless facilities in Starbucks also Market Street as well.
Many of the independent cafes offer free wi-fi with every purchase: Beanscene, The Byre Bistro, The Rule, The Westport, and Zest Juicing to name but a few. Most of these are found on South Street.
Alternatively go to the town's library on Logies Lane with a form of identification passport, driver's license etc and you can use their computers for free.
St Andrews is over run with payphones, which take coins and cards and you can also surf the web in some. They're the cheapest way to call other landlines in the UK unless you have access to a private number.
cope
There is a municipal gym in the East Sands Leisure Centre off the east sands which also has a swimming pool. For the more deluxe option, you can indulge yourself at the Old Course or Fairmont St Andrews hotels. University students tend to patronise the University Sports Centre on the North Haugh.