dogs can learn to play games with humans