Table of Contents

Irensei

Irensei (囲連星) is played on a 19×19 Go board, with Go stones, and Go capturing rules, and Go ko rules, but with one significant difference: the goal is not to surround territory, it is to get 7-in-a-row in the central 15×15 region. A winning 7-in-a-row can be either orthogonal or diagonal, but it must be a straight unbroken line of friendly stones

The two colors are traditionally Black and White for P1 and P2 respectively, but the default P1 and P2 colors on AP are Red and Blue respectively. This page will therefore use “Black/Red” and “White/Blue” to refer to the players

See n-in-a-row games for more information on the family it belongs to, as well as explanations of some things common to them, such as certain pie rules

Rules

Overlines

Overlines in n-in-a-row games refer to getting strictly more stones in a row than necessary to win (eg, 8 or more in Irensei since 7-in-a-row is the goal). Some games allow players to win via an overline, in other games making an overline neither wins nor loses but the game continues, and in other games making an overline is not a win but a loss (or illegal)

In Irensei, stones anywhere on the board, even in the gutter, count towards overlines. This means that a position might appear to be a win looking only at the central 15×15 region, but actually be a loss by illegal overline because of stones in the gutter. AP offers three overlining rules as variants

Asymmetric overline is the official rule and aims to balance the game thereby

Pie Rules

Pie rules serve not only to balance the first player advantage present in many games, but also to increase opening variety and limit the power of opening preparation. The metaphor is of one person slicing a piece of pie into two slices, and letting the other pick which one they want. The player who initiates the pie protocol is termed Slicer and the other player is termed Chooser, though those are just names for convenience, so read the pie rule in question to know how to proceed

Unless specified otherwise, pie protocols result in a game record that is still a legal game without any pie rule (though it may contain bad moves, it won't contain illegal moves). When a player plays a move, they play whichever color is next in the normal sequence of alternation. When a player plays multiple moves, they play whichever colors are next in the normal sequence of alternation. When the pie protocol ends and the game begins, whoever ends up assigned to the color up next in the normal sequence of alternation plays the first move after the pie protocol regardless of who chose who played which side. The pie protocols here follow this norm

AP offers 3 pie rules for Irensei, as well as a default option to play without a pie rule. When the following explanations say a player chooses which color to play, that signals the end of the pie protocol

Notes on AP's Implementation

Customization

Feel free to add your custom css and/or paintbrush json here

Samraku's Irensei Theme

Inspired by Gomoku boards with their 5 star points and using (mostly) the Solarized color palate. The background is 798a89, found by mixing the colors of the White and Black stones in a perceptually uniform color space, OKLAB

/* Remove the gutter shading. */
g#gridlines polygon {
    opacity: 0;
}
 
/* Demarcate the boundary of the central 15×15 region. */
g#gridlines [y1="100"][y2="100"],
g#gridlines [y1="800"][y2="800"],
g#gridlines [x1="100"][x2="100"],
g#gridlines [x1="800"][x2="800"] {
    stroke-width: 3px;
}
 
/* Remove the thick-line extensions into the gutter. */
g#gridlines [y1="100"][y2="100"][x1="0"],
g#gridlines [y1="100"][y2="100"][x1="50"],
g#gridlines [y1="100"][y2="100"][x1="800"],
g#gridlines [y1="100"][y2="100"][x1="850"],
g#gridlines [y1="800"][y2="800"][x1="0"],
g#gridlines [y1="800"][y2="800"][x1="50"],
g#gridlines [y1="800"][y2="800"][x1="800"],
g#gridlines [y1="800"][y2="800"][x1="850"],
g#gridlines [x1="100"][x2="100"][y1="0"],
g#gridlines [x1="100"][x2="100"][y1="50"],
g#gridlines [x1="100"][x2="100"][y1="800"],
g#gridlines [x1="100"][x2="100"][y1="850"],
g#gridlines [x1="800"][x2="800"][y1="0"],
g#gridlines [x1="800"][x2="800"][y1="50"],
g#gridlines [x1="800"][x2="800"][y1="800"],
g#gridlines [x1="800"][x2="800"][y1="850"] {
    stroke-width: 1px;
}
 
/* Enlarge the hoshi. */
g#gridlines circle {
    r: 6px;
}
 
/* Hide the four side hoshi for a Gomoku-style arrangement. */
g#gridlines circle[cx="150"][cy="450"],
g#gridlines circle[cx="450"][cy="750"],
g#gridlines circle[cx="750"][cy="450"],
g#gridlines circle[cx="450"][cy="150"] {
    opacity: 0;
}
 
/* Move the four corner hoshi inward for a Gomoku-style arrangement. */
g#gridlines circle[cx="150"][cy="150"] {
    cx: 250px;
    cy: 250px;
}
 
g#gridlines circle[cx="750"][cy="150"] {
    cx: 650px;
    cy: 250px;
}
 
g#gridlines circle[cx="750"][cy="750"] {
    cx: 650px;
    cy: 650px;
}
 
g#gridlines circle[cx="150"][cy="750"] {
    cx: 250px;
    cy: 650px;
}
{
  "colourContext": {
    "background": "#798a89",
    "board": "#798a89",
    "strokes": "#000",
    "borders": "#268bd2",
    "labels": "#000",
    "annotations": "#cb4b16",
    "fill": "#798a89"
  },
  "palette": [
    "#073642",
    "#eee8d5"
  ],
  "glyphmap": []
}