A ko (Japanese: コウ, 劫, kō, from the translation of the Sanskrit term kalpa) fight is a tactical and strategic phase that can arise in the game of go.
The existence of ko fights is implied by the rule of ko, a special rule of the game that prevents immediate repetition of position, by a short 'loop' in which a single stone is captured, and another single stone immediately taken back. The rule states that the immediate recapture is forbidden, for one turn only. This gives rise to the following procedure: the 'banned' player makes a play, which may have no particular good qualities, but which demands an instant reply. Then the ban has come to its end, and recapture is possible. This kind of distracting play is termed a ko threat.
If White, say, chooses to play a ko threat, and Black responds to the threat instead of ending the ko in some fashion, then White can recapture the stone that began the ko. This places Black in the same position that White was formerly in: Black can choose to give up the ko, or to find a ko threat. If Black and White alternate making ko threats with recapturing the ko, they are having a ko fight.
Eventually, one of three things will happen.
If three ko fights are happening at the same time, the game can play on indefinitely (e.g. black responds to the first ko, white responds to second, black to third, white to first, black to second, white to third, and so on)
Before deciding to start a ko, it is worthwhile evaluating what threats are available to both players, so that one can decide which side is likely to win the ko fight.[1] Many of the playing skills come together in ko fighting (evaluating the value of moves; reading ahead to find likely moves of the opponent and best responses; choosing the best order of moves), and it is a topic of much discussion among players. This also causes many beginners to be fearful of fighting a ko, since they are not confident of their ability to evaluate threats.
The importance of a ko varies dramatically depending on the positions of the two players. Some kos offer very little gain for either player, such as three points or less. Others control the fate of large portions of the board, sometimes even the whole board, and the outcome of those kos can determine the winner of the game. For this reason, finding and using ko threats well is a very important skill.[2]
(Copied from http://senseis.xmp.net/?KoThreat.)
Before the fight
(especially local ko threats (see an example of removing a local threat), and double ko threats, meaning they work as ko threats for both sides).
During the fight
If you will lose the ko, you want to get the most you can in exchange for it.
Note: There may be exceptions to the above advice. Whether to play a ko threat, and if so, which one, can be very subtle questions. See ko threat playing order for more.
General
One curiosity is the existence of multiple kos on the same board at the same time. A double ko is a situation when two kos are potentially being fought, simultaneously and affecting the same local position. Such positions are uncommon, but do sometimes arise in actual play, affecting life and death or connection issues. Two kos cannot actually form a large loop.
A triple ko is when three kos are being fought simultaneously. In this case a long loop, of period six plays, can occur, not being ruled out by the ko rule: it is possible for the two players to continually take and retake the three kos in a fixed cyclic order. If both players judge this to be the best line of play, then the game could, theoretically, continue forever. When there are three kos on the board, it does not follow that there will be a triple ko: as long as one player can concede two out of three and still be ahead, there is no reason for the loop to persist; and normally that is true. When such a position does occur, the game is called off and the opponents begin a new game. However, this only occurs with the so-called "basic ko rule" that one cannot recapture immediately.
There are other, stronger ko rules, the main class being superko, where repeating positions of any cycle length are impossible: see Rules of Go. Such events, however, are extremely uncommon and many go players may play their whole lives without restarting a game due to a triple ko.
Such rule issues, therefore, are more a matter of principle, although considerable attention has been devoted to them: see Sensei's Library's overview.The content is sourced from: https://handwiki.org/wiki/Software:Ko_fight