Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good framework for the game of Go (weiqi, baduk)? [closed]

I enjoy the game of Go (also known as weiqi in China or baduk in Korea). I want to create a program (an evaluation function) to play it.

I would prefer if the framework handled two important tasks:

  • Handle rules for the game, including captures, ko rules, and final scoring.
  • Handle communication between a server like KGS and my program.

Also, my home machines run Linux or Mac OS X; I cannot use any only-Windows platforms.

Thank you!

like image 346
Chip Uni Avatar asked Nov 21 '09 03:11

Chip Uni


People also ask

How do you play the Weiqi board game?

Weiqi – the surrounding game In Chinese the name of the game is 围棋 (weiqi) and it means "the surrounding game". In Go, a move consists of putting a stone on any empty intersection of the board. The goal of the players is to surround as big territories with their stones as possible and not to let the opponent do so.

What is Baduk Korean game?

A two-player game taking turns to place black stones and white stones on a wooden board with a 19 x 19 grid to see who can occupy the most territory to win. Also called Wongi or Hyeokgi, Baduk originated in China and made its way to Goguryeo, becoming a hobby among the upper class.

Is Go a good board game?

There is great scope for intuition and experiment in a game of Go, especially in the opening. Like Chess, Go has its opening strategies and tactics but players can become quite strong knowing no more than a few basic patterns. A great advantage of Go is the very effective handicapping system.


1 Answers

GNU Go is a great open source Go program. Its evaluation function is well-documented and it provides an easy way to output the explanation for every move the program made. You can either replace the evaluation function from scratch with your own, or tinker with the existing one.

Open Go is an open source tool with code for communicating using the Go Modem Protocol. I believe that's what you need for the second part of your question.

like image 77
RossFabricant Avatar answered Sep 20 '22 03:09

RossFabricant