Difference between revisions of "Ladder creation template"

From HexWiki
Jump to: navigation, search
(Ladder creation templates on the 6th row: Added some templates)
(Ladder creation templates on the 6th row: Added a new template)
 
(3 intermediate revisions by the same user not shown)
Line 51: Line 51:
 
   visible="-a1 a2 b1"
 
   visible="-a1 a2 b1"
 
   contents="R c1 S grey:c3 S red:(d2 d3) E →:(d2 d3)"
 
   contents="R c1 S grey:c3 S red:(d2 d3) E →:(d2 d3)"
 +
  />
 +
 +
<hexboard size="3x5"
 +
  coords="none"
 +
  edges="bottom"
 +
  visible="-a1 a2 b1 e1"
 +
  contents="R c1 S grey:d3 S red:(e2 e3) E →:(e2 e3)"
 
   />
 
   />
  
Line 81: Line 88:
 
   visible="-area(a1,a3,c1) d1"
 
   visible="-area(a1,a3,c1) d1"
 
   contents="R f1 S red:(f3 f4) red:(b3 a4) E →:(f3 f4) ←:(b3 a4)"
 
   contents="R f1 S red:(f3 f4) red:(b3 a4) E →:(f3 f4) ←:(b3 a4)"
 +
  />
 +
 +
<hexboard size="4x4"
 +
  coords="none"
 +
  edges="bottom"
 +
  visible="-a1"
 +
  contents="R b1 S red:(d1 d2 d3 d4) E →:(d1 d2 d3 d4)"
 
   />
 
   />
  
Line 120: Line 134:
 
   />
 
   />
 
Red can choose between getting a 2nd row ladder to the right and a 3rd row ladder to the left, or vice versa.
 
Red can choose between getting a 2nd row ladder to the right and a 3rd row ladder to the left, or vice versa.
 +
 +
<hexboard size="5x5"
 +
  coords="none"
 +
  edges="bottom"
 +
  visible="area(c1,b2,a5,d5,e2,e1)-d1"
 +
  contents="R arrow(12):(c1,e1) S red:(d4--d5) E arrow(3):(d4--d5)"
 +
  />
  
 
=== Ladder creation templates on the 6th row ===
 
=== Ladder creation templates on the 6th row ===
Line 138: Line 159:
 
   />
 
   />
 
Red must choose between the ladder going left and the ladder going right (Red cannot force both simultaneously).
 
Red must choose between the ladder going left and the ladder going right (Red cannot force both simultaneously).
 +
 +
<hexboard size="6x8"
 +
  coords="none"
 +
  edges="bottom"
 +
  visible="-area(a1,a5,e1)"
 +
  contents="R f1 g1 S red:(h5--h6) E →:(h5--h6)"
 +
  />
  
 
<hexboard size="6x6"
 
<hexboard size="6x6"

Latest revision as of 14:19, 5 September 2022

A ladder creation template is a kind of edge template that guarantees that the owner of the template can either connect to the edge or, failing that, get a specified ladder or ladders.

There is not yet a naming convention for ladder creation templates, so all examples on this page are currently unnamed. Like edge templates, we classify ladder creation templates by the row on which the connecting stone is located, rather than by the kind of ladder it generates. In fact, some templates generate more than one ladder, for example a 4th row ladder going left or a 3rd row ladder going right. In an attempt to avoid confusion, we say "ladder creation template on the 3rd row", rather than "3rd row ladder creation template", to indicate that the template is a 3rd row template (but may, for example, generate a 2nd row ladder).

On David King's Hex template page, ladder creation templates are called "cascading templates". However, they should not be confused with what Matthew Seymour's book calls "cascading ladders", which is a different concept.

Examples

We use horizontal arrows "→" and sometimes "←" to indicate where the ladder(s) will start. If the right and left ladders use the same color, it means that Red can get both ladders. If they use different colors, it means that Red has a choice between starting a ladder on the right or on the left, but cannot do both. The cells marked "→" and "←" must be empty for the templates to be valid.

As usual, Red stones marked "↑" are assumed to be connected upwards, i.e., these are the stones that Red wants to connect to the bottom edge or ladder. Any cells that are shaded in grey are not part of the template and can be occupied by Blue.

Many of the below templates are taken from David King's Hex template page.

When checking the templates, keep in mind that the templates do not in general guarantee that Red will get the indicated ladder. They only guarantee that Red will get at least the indicated ladder (or a better one) if Red doesn't connect to the edge outright.

Ladder creation templates on the 2nd row

Ladder creation templates on the 3rd row

Ladder creation templates on the 4th row

Ladder creation templates on the 5th row

Red can choose between getting a 2nd row ladder to the right and a 3rd row ladder to the left, or vice versa.

Ladder creation templates on the 6th row

Red must choose between the ladder going left and the ladder going right (Red cannot force both simultaneously). The cell marked "+" is the only place where Blue can move to prevent Red from connecting to the edge outright.

Red must choose between the ladder going left and the ladder going right (Red cannot force both simultaneously).

Red must choose between the ladder going left and the ladder going right (Red cannot force both simultaneously).

Red can get both ladders simultaneously. The cells marked "+" are the only ones where Blue can move to prevent Red from connecting to the edge outright.