Play Abstract Games

Go rules: how to play Go

Go is a two-player game of placing stones. Black and White take turns putting one stone on an empty point. Stones never move, but stones that are completely surrounded are captured. At the end, the player who controls more of the board wins.

This page explains every rule one at a time, each with a simple diagram, and then compares the common rule sets, so you know exactly what you are playing here and elsewhere. You can try the key rules yourself on positions from real games.

The board and the stones

Go is played on a grid of lines. The full-size board has 19 by 19 lines; 13 by 13 and 9 by 9 boards are used for shorter games and for learning. This site plays on the 9 by 9 board, which has 81 points. Stones go on the points where the lines cross, including the edge and the corners, not inside the squares.

The small dots are only landmarks; the one in the middle, e5, marks the centre. One player has black stones and the other white, and the game starts with the board empty.

The 9 by 9 board. Black's first stone is on e4, just below the centre point.

Taking turns

Black always moves first. After that the players alternate, and on each turn you either place one stone of your colour on any empty point or pass. A stone stays where it is placed; it can only leave the board by being captured.

Here are the first eight moves of a game played on this site. The numbers show the order of the stones. Both players start near the centre and then spread out, staking out areas they hope to keep.

1.

Black starts on e4, near the centre. White answers on e6, keeping its distance.

2.

Black takes the left side with c5, and White replies right next to it with c7.

3.

Black claims the right side with g5. White moves to the lower left with c3.

4.

Black blocks White's way along the bottom with d2, and White pushes in between Black's stones with d4.

Liberties

The liberties of a stone are the empty points directly next to it along the lines: up, down, left and right. Diagonal points do not count. A stone in the middle of the board has four liberties, a stone on the edge three, and a stone in the corner only two.

In the centre: 4A stone on e5 has four liberties: above, below, left and right.
On the edge: 3On the edge, e1 loses the point below it and has three liberties.
In the corner: 2In the corner, a1 has only two liberties, which makes it the easiest stone to capture.

The X marks are the liberties of each black stone.

Stones of the same colour that are next to each other along a line are connected. They form a group, which shares all its liberties and is captured only as a whole. Stones that touch only at a corner, diagonally, are not connected: each is its own group.

ConnectedSide by side, d5 and e5 are one group with six liberties.
Not connectedDiagonally, d5 and e4 are two groups. They share the liberties d4 and e5, and White can play there to cut them apart.

Capturing stones

When a stone or group has only one liberty left, it is in atari: the opponent can capture it with the next move. When the opponent fills that last liberty, the stones are captured: they are taken off the board at once, and their points are empty again.

A group is captured in the same way as a single stone: all of its liberties must be filled. On the edge and in the corner that takes fewer stones.

1. AtariWhite surrounds the black stone on three sides. Its last liberty is the X on e4.
2. CapturedWhite plays on e4. The black stone has no liberties left and is taken off the board.
3. A group in atariBlack's two stones on the edge have one liberty left, the X on f1. A white stone there captures both.
PuzzleYour move
White to move. Find the move that captures a black stone.
a
b
c
d
e
f
g
h
i
a
b
c
d
e
f
g
h
i
9
8
7
6
5
4
3
2
1
9
8
7
6
5
4
3
2
1

Make your move on the board.

Show the answer

f6. The black stone on f5 touches white stones on e5, g5 and f4. Its only liberty is f6, and a white stone there captures it.

A stone in atari is not lost yet. Its owner can often save it by playing on its last liberty: the stone joins the new stone, and together they have more liberties.

PuzzleYour move
Black to move. The black stone on e6 is in atari. Find the move that saves it.
a
b
c
d
e
f
g
h
i
a
b
c
d
e
f
g
h
i
9
8
7
6
5
4
3
2
1
9
8
7
6
5
4
3
2
1

Make your move on the board.

Show the answer

d6. The only liberty of e6 is d6. A black stone there joins e6 and d7 into one group with new liberties on c6, c7, d5 and d8.

Capturing can also be the best way to escape. In this game White's stone on f3 is nearly surrounded. Watch the next three moves: Black puts it in atari, White answers with an atari of its own, and Black captures first.

5.

Black's e3 leaves the white stone on f3 one liberty, f2. White does not save it but plays d3, which puts Black's e3 in atari in return.

6.

Black captures first: f2 takes the white stone on f3 off the board, and the empty point gives e3 a new liberty.

Rule
Captured stones are prisoners

The capturing player keeps the stones taken off the board. Under territory scoring each prisoner is worth a point at the end. Under area scoring, used here, prisoners are not counted, but the empty points they leave usually become the capturer's territory.

No suicide

You may not place a stone where it would have no liberties, unless the move captures. Such a move is called suicide.

Capturing comes first. If your stone fills the last liberty of the opponent's stones, those stones come off the board before your stone's liberties are counted, and the points they free give your stone its liberties. So the same point can be forbidden in one position and a capture in another.

Not allowedWhite may not play on A: the stone would have no liberties and capture nothing.
Allowed: it capturesNow the black stones have no other liberty. White on A captures both, and the white stone gets their points as liberties.

Ko

Sometimes a stone captures a single stone and could be taken straight back at once, which would repeat the same position for ever. This shape is called a ko. The ko rule says you may not retake straight away: you must play at least one move elsewhere first.

In the first diagram, the white stone on e5 is in atari. Black captures it by playing on A. In the second, Black's new stone is itself in atari, and White could capture it by playing on B, but that would bring back the position from one move ago. So White may not play B now.

1. Black takesBlack plays on A and captures the white stone on e5.
2. White must waitBlack's stone on f5 has one liberty, B. Retaking there at once is forbidden: White must play elsewhere first.

So White plays a ko threat: a move elsewhere that threatens something big, so that Black would rather answer it than end the ko. If Black answers, the position has changed, and White may retake. If Black ignores the threat and closes the ko instead, White carries out the threat.

A ko fight can go back and forth for many moves, each side spending a threat every time before it retakes. The side with more and bigger threats usually wins it.

Rule
No repeated positions on this site

This site forbids any move that would bring back a whole-board position that has already occurred in the game, a rule called positional superko. It includes the basic ko rule and also rules out the rarer longer cycles, such as a triple ko.

Passing and the end of the game

Instead of placing a stone, you may pass. You pass when no move would gain you anything: every border is closed, and there is no group left to save or to capture. When both players pass in a row, the game is over.

Stones that could not escape capture if play went on are dead: at the end they are taken off and counted as if they had been captured, and their points go to the side that surrounds them.

Special case
Not sure whether a stone is dead? Play it out

On this site the computer judges which stones are dead when the game ends, and marks them with a red cross. If you think a group might be disputed, capture it, or make it safe, before you pass. Under area scoring this costs you nothing: a stone played inside your own territory does not change your count.

Counting the score

This site uses area scoring, the method of the Chinese rules. Each side counts its stones on the board plus the empty points it alone surrounds, its territory. White adds komi for moving second. The higher total wins.

The game below was played to the end on this site, with both players passing. No stones are dead and every empty point is surrounded by one side, so the count is simple. The squares show whose territory each empty point is.

The end of a game. Black has 25 stones and 20 points of territory, 45 in all. White has 27 stones and 9 points, 36, plus 7.5 komi makes 43.5. Black wins by 1.5 points.
CountBlackWhite
Stones on the board2527
Territory209
Komi07.5
Total4543.5

Moving first is worth several points, so White receives komi to make the game fair. This site gives 7.5 points, the komi of the Chinese rules; the Japanese and Korean rules give 6.5. The half point means the game can never end in a tie.

Rule sets compared

The rules of placing and capturing are the same everywhere. The rule sets differ in how the score is counted, the komi, how repeated positions are handled and whether suicide is allowed. Territory scoring (Japanese and Korean rules) counts the empty points you surround plus your prisoners and dead stones; area scoring (Chinese rules) counts the empty points you surround plus your stones on the board. The two counts nearly always give the same winner, though the margin can differ by a point.

Rule setScoringKomiRepeated positionsSuicide
Chinese (this site)Area7.5No earlier position may return (superko)Not allowed
JapaneseTerritory6.5Basic ko rule; an endless cycle such as a triple ko can void the gameNot allowed
KoreanTerritory6.5Basic ko ruleNot allowed
AGA (American)Area or territory, made to agree by pass stones7.5SuperkoNot allowed
New ZealandArea7SuperkoAllowed for a group of two or more stones

Players of different strength often play a handicap game: the weaker player takes Black and places two to nine stones on the star points before White's first move, and komi is usually just half a point. The site's computer opponents do not use handicap stones; choose a level instead.

Words Go players use

  • Liberty: an empty point next to a stone or group, along a line.
  • Group or chain: stones of one colour joined along the lines. They share their liberties and are captured together.
  • Atari: a group with one liberty left, which the opponent can capture next move.
  • Eye: an empty point, or small space, surrounded by one group. A group with two separate eyes can never be captured, because the opponent cannot fill both at once.
  • Alive and dead: a group that can never be captured is alive; one that cannot avoid capture is dead, and at the end it counts as captured.
  • Seki: two groups that both stay on the board because whoever fills their shared liberties first would be captured. Under area scoring their stones count; the shared points count for nobody.
  • Ko: a single stone capturing a single stone that could be taken straight back. A ko threat is a move elsewhere played to win the right to retake.
  • Territory: the empty points one side surrounds. Dame: empty points between the two sides that belong to nobody.
  • Komi: the points White receives for moving second.
  • Sente and gote: a move the opponent must answer keeps the initiative (sente); a move that does not ends it (gote).

The rules on this site

  • A 9 by 9 board, starting empty.
  • Black moves first, then the players alternate, placing one stone or passing.
  • Groups without liberties are captured. Suicide is not allowed, unless the move captures.
  • No move may repeat an earlier whole-board position (positional superko).
  • Two passes in a row end the game; the computer judges which stones are dead.
  • Area scoring: stones plus surrounded points, with 7.5 komi for White. There are no draws.

Try them against the computer: start on an easy level, and move up as your groups start to survive.

Where to go next

Once the rules are clear, the real game begins: deciding where your stones do the most work. The Go strategy guide covers connecting, ladders, liberty races, making eyes and closing your borders, with positions you can play.

Learn, Play, and Have Fun!

Ready to play Go online? Start a match against the computer now. No signup, no friction.