Difference between revisions of "Interior template"

From HexWiki
Jump to: navigation, search
(Renamed "unnamed interior templates" to "interior template")
 
(mouth -> trapezoid)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
These are [[template]]s for which no name has been invented yet.  
+
This page lists some interior templates. In each case, the carrier of the template consists of the cells that are shown in its diagram.
<hex> R3 C4
+
Sa1
+
Va2    Vd2
+
  Va3 Vc3 Sd3</hex>
+
  
<hex> R3 C4
+
== 2- and 3-stone templates ==
Sa1    Vd1
+
Va2    Vd2
+
  Va3    Sd3</hex>
+
  
<hex> R4 C4
+
=== The bridge ===
Sa1
+
<hexboard size="3x2"
Va2    Vd2
+
  coords="hide"
   Va3    Vd3
+
  edges="none"
          Sd4</hex>
+
   visible="area(b1,a2,a3,b2)"
 +
  contents="R a3 R b1"
 +
  />
  
<hex> R3 C3
+
=== The wheel ===
Va1    Vc1
+
 
        Vc2
+
<hexboard size="3x3"
      Vb3 Sc3</hex>
+
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 c3"
 +
  contents="R a3 R b1 R c2"
 +
  />
 +
 
 +
== 4-stone templates ==
 +
 
 +
These templates are grouped by the size and shape of their carrier.
 +
 
 +
=== The trapezoid ===
 +
 
 +
<hexboard size="3x3"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-c3"
 +
  contents="R a1 a3 b3 c1"
 +
  />
 +
 
 +
=== The crescent ===
 +
 
 +
<hexboard size="3x3"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-c3"
 +
  contents="R a1 a3 b3 c2"
 +
  />
 +
 
 +
=== The span ===
 +
 
 +
<hexboard size="3x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 d3"
 +
  contents="R a2 R a3 R c3 R d2"
 +
  />
 +
 
 +
=== The parallelogram ===
 +
 
 +
<hexboard size="3x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 d3"
 +
  contents="R a2 R a3 R d1 R d2"
 +
  />
 +
 
 +
=== The box ===
 +
 
 +
<hexboard size="3x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 d3"
 +
  contents="R b1 R a3 R c3 R d1"
 +
  />
 +
 
 +
=== The diamond ===
 +
 
 +
<hexboard size="3x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 d3"
 +
  contents="R a2 R c1 R b3 R d2"
 +
  />
 +
 
 +
=== The shopping cart ===
 +
[[Image: ShoppingCart.png|right|150px]]
 +
 
 +
<hexboard size="3x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 d3"
 +
  contents="R b1 R a3 R c3 R d2"
 +
  />
 +
 
 +
=== The scooter ===
 +
[[Image: Scooter.png|right|150px]]
 +
 
 +
<hexboard size="4x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="area(c1,a3,a4,c4,d3,d1)"
 +
  contents="R b2 R a4 R c1 R c4"
 +
  />
 +
 
 +
=== The bicycle ===
 +
[[Image: Bicycle.png|right|150px]]
 +
 
 +
<hexboard size="4x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="area(c1,a3,a4,c4,d3,d1)"
 +
  contents="R b2 R a4 R d1 R c4"
 +
  />
 +
 
 +
=== The hammock ===
 +
[[Image: Hammock.png|right|150px]]
 +
 
 +
This template is a variation of the diamond that only guarantees a connection between the two stones marked with arrows. It does not guarantee all 4 stones to be connected.
 +
 
 +
<hexboard size="3x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-d3"
 +
  contents="R arrow(10):a1 R c1 R b3 R arrow(4):d2"
 +
  />
 +
 
 +
=== The wide parallelogram ===
 +
 
 +
<hexboard size="4x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 d4"
 +
  contents="R a2 R a3 R d2 R d3"
 +
  />
 +
 
 +
== Long version of templates ==
 +
 
 +
Several interior templates have "long" versions. These work at any length, and are basically [[#Interior templates from edge templates|interior versions]] of second row ladder escapes.
 +
 
 +
=== The long crescent ===
 +
 
 +
<hexboard size="3x6"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-f3"
 +
  contents="R a1 a3 b3 c3 d3 e3 f2"
 +
  />
 +
 
 +
=== The long trapezoid ===
 +
 
 +
There are several ways of making a long trapezoid. Two of them are shown here:
 +
 
 +
<hexboard size="3x6"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-f3"
 +
  contents="R a1 a3 b3 c3 d3 e3 f1"
 +
  />
 +
<hexboard size="3x6"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-f3"
 +
  contents="R a1 a3 b3 c3 d3 f1 f2"
 +
  />
 +
 
 +
=== The long span ===
 +
 
 +
<hexboard size="3x6"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 f3"
 +
  contents="R a2 a3 c3 d3 e3 f2"
 +
  />
 +
 
 +
The long span is relatively common as an edge template. The most common example of this is [[Fifth_row_edge_templates#V-2-k|edge template V2-k]]:
 +
<hexboard size="5x4"
 +
  coords="hide"
 +
  edges="bottom"
 +
  visible="-a1--a4 b1"
 +
  contents="R b2 b4 c1 E a:a5 b:b5 S red:(a5 b5)"
 +
  />
 +
Note that the cells marked "a" and "b", which belong to the carrier of this template, are [[captured cell|captured]] by Red, and therefore this really is an edge version of the long span. For the same reason, the following is an edge template as well:
 +
<hexboard size="6x4"
 +
  coords="hide"
 +
  edges="bottom"
 +
  visible="-a1--a5 b1"
 +
  contents="R b2 b4 b5 c1"
 +
  />
 +
 
 +
== Template extensions ==
 +
 
 +
Given a template, it is often possible to '''extend''' the template by adding one or more stones that threaten to connect to the template in two different ways. For example, the following 5-stone templates are extensions of the trapezoid. In each case, the trapezoid is shown in white and the extension in gray.
 +
<hexboard size="3x5"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1 d3 e2 e3"
 +
  contents="R a3 b1 c1 c3 e1 S gray:(d1,d2,e1)"
 +
  />
 +
<hexboard size="4x6"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="-a1--c1 a2 e4 f3 f4"
 +
  contents="R a4 b2 c2 c4 f2 S gray:area(d1,d4,f2,f1)"
 +
  />
 +
Because template extensions are so numerous, they usually do not get their own names, and it is not usually worth memorizing them as separate templates.
 +
 
 +
== Interior templates from edge templates ==
 +
 
 +
Since a solid row of stones of the same color acts pretty much like an edge, all edge templates can also be used as interior templates. Such templates typically do not have their own name, but are named after the corresponding edge template. For example, here is an interior [[ziggurat]]:
 +
<hexboard size="4x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="area(c1,a3,a4,c4,d3,d1)"
 +
  contents="R c1 a4 b4 c4 S area(c1,a3,d3,d1)"
 +
  />
 +
To simulate an edge, it is not actually necessary to have a solid row of stones; it is sufficient that each cell on "row 1" of the edge is adjacent to a connected red stone. For example, the following is another variant of an interior ziggurat:
 +
<hexboard size="5x4"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="area(c1,a3,a5,b5,d3,d1)"
 +
  contents="R c1 a4 b5 c4 S area(c1,a3,d3,d1)"
 +
  />
 +
One can construct a virtually unlimited number of templates this way. Here is an example of an interior [[Edge template IV2a|IV-2-a]] attached to a [[trapezoid]]:
 +
<hexboard size="7x5"
 +
  coords="hide"
 +
  edges="none"
 +
  visible="area(d1,a4,d4,e2,e1) area(a5,a7,b7,c6,c5)"
 +
  contents="R d1 e1 a5 c5 a7 c6 S area(d1,a4,d4,e2,e1)"
 +
  />
 +
 
 +
Some of the named interior templates can actually be viewed as interior versions of edge templates.
 +
The bridge is an interior [[edge template II|template II]], the parallelogram is an interior [[Edge template III2a|template III-2-a]], the span is an interior [[Edge template III2b|template III-2-b]], the crescent is an interior [[Edge_template_III2d|template III-2-d]], and the shopping cart is an interior [[Edge template III2g|template III-2-g]].
  
 
[[category:interior templates]]
 
[[category:interior templates]]

Latest revision as of 23:41, 14 February 2024

This page lists some interior templates. In each case, the carrier of the template consists of the cells that are shown in its diagram.

2- and 3-stone templates

The bridge

The wheel

4-stone templates

These templates are grouped by the size and shape of their carrier.

The trapezoid

The crescent

The span

The parallelogram

The box

The diamond

The shopping cart

ShoppingCart.png

The scooter

Scooter.png

The bicycle

Bicycle.png

The hammock

Hammock.png

This template is a variation of the diamond that only guarantees a connection between the two stones marked with arrows. It does not guarantee all 4 stones to be connected.

The wide parallelogram

Long version of templates

Several interior templates have "long" versions. These work at any length, and are basically interior versions of second row ladder escapes.

The long crescent

The long trapezoid

There are several ways of making a long trapezoid. Two of them are shown here:

The long span

The long span is relatively common as an edge template. The most common example of this is edge template V2-k:

ab

Note that the cells marked "a" and "b", which belong to the carrier of this template, are captured by Red, and therefore this really is an edge version of the long span. For the same reason, the following is an edge template as well:

Template extensions

Given a template, it is often possible to extend the template by adding one or more stones that threaten to connect to the template in two different ways. For example, the following 5-stone templates are extensions of the trapezoid. In each case, the trapezoid is shown in white and the extension in gray.

Because template extensions are so numerous, they usually do not get their own names, and it is not usually worth memorizing them as separate templates.

Interior templates from edge templates

Since a solid row of stones of the same color acts pretty much like an edge, all edge templates can also be used as interior templates. Such templates typically do not have their own name, but are named after the corresponding edge template. For example, here is an interior ziggurat:

To simulate an edge, it is not actually necessary to have a solid row of stones; it is sufficient that each cell on "row 1" of the edge is adjacent to a connected red stone. For example, the following is another variant of an interior ziggurat:

One can construct a virtually unlimited number of templates this way. Here is an example of an interior IV-2-a attached to a trapezoid:

Some of the named interior templates can actually be viewed as interior versions of edge templates. The bridge is an interior template II, the parallelogram is an interior template III-2-a, the span is an interior template III-2-b, the crescent is an interior template III-2-d, and the shopping cart is an interior template III-2-g.