The best local golf course is Aberdyfi Golf Course (about a 20-25 minute drive from the BGF cottage), which is a links course and ranked as one of the top 3 courses in Wales. They do rent clubs, so no excuse to not get over there to sample a fantastic course! Make sure you book a tee of time in advance. Their website is here.
We have also had a lot of fun playing our way around Machynlleth's very own 9 hole course, with the main challenge being to avoid the sheep! Just turn up if you want to play – there is usually no need to book. If the shop/ bar is closed, they have an honesty system to pay green fees, so you can still play a round whatever the time.
There are many other golf courses within easy driving distance, including Borth, Harlech and Welshpool.