Writing a Go-playing Program