Go, Weiqi, or Baduk is an abstract strategy board game for two players in which the aim is to fence off more territory than the opponent. The game was invented in China more than 2,500 years ago and is believed to be the oldest board game continuously played to the present day. A 2016 survey by the International Go Federation's 75 member nations found that there are over 46 million people worldwide who know how to play Go, and over 20 million current players, the majority of whom live in East Asia.
The playing pieces are called stones. One player uses the white stones and the other black stones. The players take turns placing their stones on the vacant intersections (points) on the board. Once placed, stones may not be moved, but captured stones are immediately removed from the board. A single stone (or connected group of stones) is captured when surrounded by the opponent's stones on all orthogonally adjacent points. The game proceeds until neither player wishes to make another move.
When a game concludes, the winner is determined by counting each player's surrounded territory along with captured stones and komi (points added to the score of the player with the white stones as compensation for playing second). Games may also end by resignation.
The standard Go board has a 19×19 grid of lines, containing 361 points. Beginners often play on smaller 9×9 or 13×13 boards, and archaeological evidence shows that the game was played in earlier centuries on a board with a 17×17 grid. The 19×19 board had become standard by the time the game reached Korea in the 5th century CE and Japan in the 7th century CE.
Go was considered one of the four essential arts of the cultured aristocratic Chinese scholars in antiquity. The earliest written reference to the game is generally recognized as the historical annal Zuo Zhuan (c. 4th century BCE).
Despite its relatively simple rules, Go is extremely complex. Compared to chess, Go has a larger board with more scope for play, longer games, and, on average, many more alternatives to consider per move. The number of legal board positions in Go has been calculated to be approximately 2.1×10170, which is far greater than the number of atoms in the observable universe, which is estimated to be on the order of 1080.
The name Go is a short form of the Japanese word igo (囲碁; いご), which derives from earlier wigo (ゐご), in turn from Middle Chinese ɦʉi gi (圍棋, Mandarin: wéiqí, lit. 'encirclement board game' or 'board game of surrounding'). In English, the name Go when used for the game is often capitalized to differentiate it from the common word go. In events sponsored by the Ing Chang-ki Foundation, it is spelled goe.
The Korean name baduk (바둑) is a native derived term, most likely originally consisting of 밭 (Yale: pàth, 'cultivated field') + *돍〯 (Yale: twǒlk, "stone", presumed dialectal variant of Seoul 돓〯 twǒlh, 'stone'). Less plausible etymologies include a derivation of Badukdok, referring to the playing pieces of the game, or a derivation from Chinese páizi (排子), meaning 'to arrange pieces'.
Go is an adversarial game between two players with the objective of capturing territory: that is, occupying and surrounding a larger total empty area of the board with one's stones than the opponent. As the game progresses, the players place stones on the board, creating stone "formations" and enclosing spaces. Once placed, stones are never moved on the board, but when "captured" are removed from the board. Stones are linked together into formations by being adjacent along the black lines, not on diagonals (of which there are none). Contests between opposing formations are often extremely complex and may result in the expansion, reduction, or wholesale capture and loss of formations and their enclosed empty spaces (or "eyes"). One essential aspect of the game is control of the sente (that is, controlling the offense, so that one's opponent is forced into defensive moves); this usually changes several times during play.
Initially, the board is bare. Players take turns, placing one stone per turn. As the game proceeds, players try to link their stones together into "living" formations (meaning that they are permanently safe from capture), while threatening to capture their opponent's stones and formations. Thus, stones have both offensive and defensive characteristics, depending on the situation.
An essential aspect of the game is that any formation of stones needs to have, or be capable of making, at least two enclosed open points known as eyes, in order to preserve itself from being captured. A formation having two or more eyes cannot be captured, even after it is surrounded by the opponent on the outside, because each eye constitutes a liberty that must be filled by the opponent as the final step in capture. Once surrounded, a formation with a single eye can be captured on the next move, by one's opponent filling the eye and completely surrounding all stones in the formation; however, with two eyes, completely surrounding the formation is impossible, as filling one eye does not capture the formation, and instead would simply sacrifice the stone filling that eye. Thus, a formation having two or more eyes is said to be unconditionally alive, meaning that it can never be captured, while a group that cannot form two eyes is said to be dead and can be captured unless it is subsequently connected to a formation with a second eye.
The general strategy is to place stones to fence-off territory, attack the opponent's weak groups (trying to kill them so they will be removed), and always stay mindful of the life status of one's own groups. Situations where mutually opposing groups must capture each other or die are called capturing races, or semeai. In a capturing race, the group with more liberties will ultimately be able to capture the opponent's stones. Capturing races and the elements of life or death are the primary challenges of Go.
In the end game, players may pass rather than place a stone if they think there are no further opportunities for profitable play. The game ends when both players pass or when one player resigns. In general, to score the game, each player counts the number of unoccupied points surrounded by their stones and then subtracts the number of stones that were captured by the opponent. The player with the greater score (after adjusting for handicapping called komi) wins the game.
In the opening stages of the game, players typically establish groups of stones (or bases) near the corners and around the sides of the board, usually starting on the third or fourth line in from the board edge rather than at the very edge of the board. The edges and corners make it easier to develop groups which have better options for life (self-viability for a group of stones that prevents capture) and establish formations for potential territory. Players usually start near the corners, because establishing territory is easier with the aid of two edges of the board. Established corner opening sequences are called joseki and are often studied independently. However, in the mid-game, stone groups must also reach in towards the large central area of the board to capture more territory.
Dame are points that lie in between the boundary walls of black and white, and as such are considered to be of no value to either side. Seki are mutually alive pairs of white and black groups where neither has two eyes.
Ko (Chinese and Japanese: 劫) is a potentially indefinitely repeated stone-capture position. The rules do not allow a board position to be repeated. Therefore, any move which would restore the previous board position would not be allowed, and the next player would be forced to play somewhere else. If the play requires a strategic response by the first player, further changing the board, then the second player could "retake the ko," and the first player would be in the same situation of needing to change the board before trying to take the ko back. And so on. Some of these ko fights may be important and decide the life of a large group, while others may be worth just one or two points. Some ko fights are referred to as picnic kos when only one side has a lot to lose. In Japanese, it is called a hanami ko.