[picture of my .sig] The game of Go
aka Weiqi in Chinese, Baduk in Korean


Tutorial on the Rules of Go Kiseido Go Server Las Reglas Lógicas del Go Le regole logiche del Go
The Interactive Way To Go Go (Weiqi, Baduk) Rules number of legal positions Solving 2x2 go with alpha-beta search
Learn to play Go Comparison of some Go rules Interactive Problems So long, IGS
Instructive 6x6 game Compendium of go rules. Go: Life Itself

The Logical Rules

  1. Go is played on a 19x19 square grid of points, by two players called Black and White.
  2. Each point on the grid may be colored black, white or empty.
  3. A point P, not colored C, is said to reach C, if there is a path of (vertically or horizontally)
    adjacent points of P's color from P to a point of color C.
  4. Clearing a color is the process of emptying all points of that color that don't reach empty.
  5. Starting with an empty grid, the players alternate turns, starting with Black.
  6. A turn is either a pass; or a move that doesn't repeat an earlier grid coloring.
  7. A move consists of coloring an empty point one's own color;
    then clearing the opponent color, and then clearing one's own color.
  8. The game ends after two consecutive passes.
  9. A player's score is the number of points of her color, plus the number of empty points that reach only her color.
  10. The player with the higher score at the end of the game is the winner. Equal scores result in a tie.

Here are the rules expressed in Haskell. An array based version with parametrized board topology.

Comments

  1. The grid of points is usually marked by a set of 19x19 lines on a wooden board.
    Each player has an arbitrarily large set of stones of his own color.
    By prior agreement a rectangle of different dimensions may be used.
  2. Using boards, coloring a point (intersection) black or white means placing a stone of that color on the point.
    Coloring a point empty, i.e. emptying a point, means removing the stone from it.
  3. Connected stones of the same color, sometimes called strings, all reach the same colors.
    Reaching empty means having empty points adjacent to the string, called liberties.
  4. Strings without liberties cannot exist on the board at the end of a turn.
  5. For handicap games, the weaker player, taking black, may be given an n stone handicap;
    these are n consecutive moves played before the first white move.
  6. This is the positional superko (PSK) rule, while the situational superko (SSK) rule forbids repeating the same grid coloring with the same player to move. Only in exceedingly rare cases does the difference matter, sufficient reason for the simpler PSK rule to be prefered.
  7. For any specific move, at most one of the clearing processes can have effect;
    the first is called capture, the second suicide. Allowing suicide means that a play on an empty point can be illegal only due to superko.
  8. As a practical shortcut, the following amendment allows dead stone removal:
    After only 2 consecutive passes, the players may end the game by agreeing on which points to empty.
    After 4 consecutive passes, the game ends as is.
  9. This is called area scoring. An almost equivalent result is reached by territory scoring where in addition to empty surrounded space we count opponent stones captured instead of own stones not captured.
  10. By prior agreement, for games between equals, a fixed amount can be added to white's final score.
    This is called komi, and can be chosen a non-integer such as 5.5 to avoid ties.

Background (by Bill Taylor)

These are essentially the New Zealand rules, re-worded to be as simple and elegant as possible. The NZ rules are in turn the simplest version of Chinese-style rules around. The NZ rules are worded with definitions given recursively, which is elegant and a joy to computer scientists, logicians and mathematicians, but perhaps not so nice for most others. John Tromp came up with the key idea of a stone "seeing" (or as I've presently worded "reaching") a different color. This was the brilliant step which enabled such succinct rules. My modest contribution was the wording for the end-of-game criterion, and putting an expansion into a second tier of interpretations rather than rules. This was
  1. to keep the logical rules as simple as possible, and
  2. to keep things close to how the game is actually played by humans.
If you like the Tromp/Taylor rules as presented here, you are earnestly enjoined to present a copy to your local, national or international clubs and committees. This is especially the case for the European Go Association, which is long overdue in making the inevitable shift to Chinese-style rules, thus following the excellent American precedent set about four years ago; (even though the Americans sadly couldn't quite admit they'd in fact shifted to Chinese rules, as they have done, in effect).

If you DON'T like the rules presented here, please contact us, explaining why.

Let me just re-iterate the motivations for wanting to adopt Chinese-style rules. They are by far the simplest, most elegant, most easily worded, and most easily umpired of the main rule sets. The matter of when the game finishes, and what is dead/removable, in particular, is far more logical and simple than in the Japanese variants, where the main motivations seem to be undue respect for tradition, and a feeling for the "beauty of omission", (a criterion possibly more appropriate to Noh opera than to a worldwide game of strategy). It is of particular concern that the rules be made as "natural" and comprehensible as possible for beginners, so that they not be turned away from the game by puzzlement or outrage, notably at the unfair-looking "free removal" of scoring prisoners at the end of the game. Many of us have known this to happen with promising beginners. Western countries especially cannot afford this kind of wastage of recruits.

Another point which has come up in email is this. There are four main areas in which Chinese and Japanese rules differ, and are effectively independent of one another. So in principle there are 2x2x2x2 = 16 ways of forming the rules, in these respects. Only the first difference is crucial.

  1. The whole network of rules concerning scoring; prisoners; end of the game; passing; removable stones; special positions; when are extra moves needed. This is "the" defining difference between the two rulesets. Chinese is far and away the simpler, by a country mile.
  2. The ko rules. Japanese is simpler, but has an annoying gap:- non-games resulting from long cycles. Chinese is more elegantly wordable.
  3. Suicide. Neutral; I have a slight preference for allowing it. (It allows slightly more options, thus more exercise of skill.)
  4. Where to put handicap stones. I much prefer the Chinese "free-placing" style - more game variation, and more opportunity for exercising skill.
Some people may object that I've "cheated" by relegating many concepts to `comments and interpretations', and have thus kept the core rules artificially concise. However I don't think so. The core rules are precisely those that (e.g.) a computer or game-theoretician needs to know; which surely qualifies them as being the "real" rules. The remaining `comments and interpretations' are merely about those matters that real live players have to worry about for reasons of convenience, impatience, and a desire (usually) to play with physical equipment.

It should be noted that (especially for tournaments) there would need to be a further layer of rules and proprieties concerning things like clocks and time, physical disturbances, ambiguous placements, getting unfair advice, and so on. (What Barry Phease succinctly dubbed "not rules of the game, but rules about playing the game".) I have completely ignored such matters.

for all x there exists y such that y is not equal to x

Preliminary version of Ladders are PSPACE complete

black to play and capture the white T group

I just noticed that people are discussing this problem on sensei's and found it broken; I should have put it on a bigger board, like 15x15, to prevent the alternative ladder.


Back to my home page.
tromp@cwi.nl