A dog playing with a golf ball in front of a small wooden fence on the beach .