Pivoting template

From HexWiki
Revision as of 08:02, 1 March 2024 by Mason (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A pivoting template is a kind of edge template that guarantees that the template's owner can either connect the template's stone(s) to the edge, or else can occupy a specified empty hex and connect it to the edge.

More precisely, a pivoting template is a pattern that has a stone A and an empty hex B, such that the template's owner can continuously threaten to connect A to the edge until the point where the template's owner either connects A to the edge or occupies B and connects B to the edge. To be considered a "template", its carrier should moreover be minimal with this property.

Example

The following is a pivoting template.

AB

Proof: Red's main threat is to bridge to c and connect to the edge by ziggurat or edge template III1b. Therefore, to prevent Red from connecting to the edge outright, Blue must play in one of the cells a,...,g.

ABabcdefg

If Blue plays at a, Red responds at b and connects outright by edge template IV1a.

If Blue plays at b, Red responds with a 3rd row ladder escape fork:

A82147635

If Blue plays at c, d, or f, Red responds as follows and is connected by edge template V2f. If Blue plays on the right instead of 3, Red responds as if defending template V2f.

A431211

If Blue plays at e or g, Red responds at c and gets a 2nd or 3rd row ladder, which can reach B by ladder escape fork.

List of pivoting templates

2nd row

AB

3rd row

AB
AB

4th row

AB
AB
AB

5th row

AB
AB
BA
BA

6th row

AB
AB
AB
AB
AB
AB
AB
AB

Pivoting templates and flanks

Pivoting templates can be useful in many situations, but are especially useful in connection with flanks. Specifically, if we line up points A and B of any pivoting template with points A and J of a capped flank, we obtain a guaranteed connection to the edge. For example, consider the capped flank

AJ

Attaching this on top of one of the above pivoting templates, we get the following:

AB

This guarantees that Red can connect A to the edge, because either A will connect outright, or else B connects to the edge and also to A via the flank.

These templates make up a subset of a larger group of edge templates formed with capped flanks.

If A and B are semi-connected

The following arguments only apply when the semi-connection does not overlap with the template. If there is an overlap, these properties may or may not hold.

Connecting B with sente

If A and B are semi-connected and Blue decides to block Red from connecting A, Red not only gets to connect B, but also gets sente. This is because once Red connects B, Blue will have to spend a move blocking B from connecting back to A.

Deriving normal templates

A normal template for connecting A can be derived from a pivoting template by placing a red stone in B, and adding sufficient space for A and B to be semi-connected. This is because, by definition, if Blue tries to block A from the edge, Red can connect B. However, if Red already has a stone at B, they can spend that move connecting back to A.

Weak pivoting templates

There is another notion similar to a pivoting template, but slightly weaker. In a weak pivoting template, we merely require that the template's owner can guarantee to either connect A to the edge or occupy B and connect B to the edge, but we drop the requirement that the owner can "continuously threaten to connect A to the edge until" that point. Typically this means that after the player occupies B, the opponent can still choose whether to let the player connect A or B to the edge.

The following are examples of weak pivoting templates:

AB
AB

Weak pivoting templates are sufficient to form a connection when combined with a flank. However, there are some contexts where a proper pivoting template would connect, but a weak pivoting template does not. The following is an example of this:

abcdefghi123456789

The highlighted area is a weak pivoting template, but with Blue to move, the position is losing for Red. On the other hand, if we use a proper pivoting template in the analogous situation, the position is winning for Red:

abcdefghi123456789

Pivoting ladder creation templates

Sometimes, the pivoting property can be combined with other properties of templates. For example, a ladder creation template guarantees that Red can get at least a specified ladder. A pivoting ladder creation template is a template with a red stone A and an empty hex B, such that Red can continuously threaten to get a ladder from A, until the point where Red either gets the ladder or occupies and connects B to a ladder. When combined with an appropriate ladder escape, a pivoting ladder creation template becomes a pivoting template.

For example, the following is a pivoting 3rd-row-ladder creation template.

AB

The only way for Blue to prevent A from connecting outright or getting the ladder is to play at 1. In this case, Red responds as follows:

A621543

See also