If you want to practice golf, you will have couple choices. You can either goto the Presidio golf course OR Harding Park golf course. Those 2 are probably the best driving ranges in San Francisco plus you can practice your chipping/putting too.
If you want to hit balls at night, you can also check out Cypress Golf Course, which has a roof and night lights, only a 10 minute drive from SF to Colma.
