Difference between revisions of "Ladder creation template"

From HexWiki
Jump to: navigation, search
(Added another ladder creation template on the 6th row.)
(Ladder creation templates on the 6th row: Added some templates)
Line 129: Line 129:
 
   contents="R f1 e2 S red:(g5--g6) blue:(b5--a6) E →:(g5--g6) ←:(b5--a6) +:d4"
 
   contents="R f1 e2 S red:(g5--g6) blue:(b5--a6) E →:(g5--g6) ←:(b5--a6) +:d4"
 
   />
 
   />
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 Blue where 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). The cell marked "+" is the only place where Blue can move to prevent Red from connecting to the edge outright.
  
<hexboard size="6x6"
+
<hexboard size="6x7"
 
   coords="none"
 
   coords="none"
 
   edges="bottom"
 
   edges="bottom"
 
   visible="-area(a1,a5,e1)"
 
   visible="-area(a1,a5,e1)"
   contents="R ↑:f1 f3 S red:(f4--f6) blue:(d3--a6) E →:(f4--f6) ←:(d3--a6)"
+
   contents="R f1 g1 S red:(g4--g6) blue:(c4--a6) E →:(g4--g6) ←:(c4--a6)"
 
   />
 
   />
 
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="6x7"
+
<hexboard size="6x6"
 
   coords="none"
 
   coords="none"
 
   edges="bottom"
 
   edges="bottom"
 
   visible="-area(a1,a5,e1)"
 
   visible="-area(a1,a5,e1)"
   contents="R f1 g1 S red:(g4--g6) blue:(c4--a6) E →:(g4--g6) ←:(c4--a6)"
+
   contents="R ↑:f1 f3 S red:(f4--f6) blue:(d3--a6) E →:(f4--f6) ←:(d3--a6)"
 
   />
 
   />
 
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="6x9"
 +
  coords="none"
 +
  edges="bottom"
 +
  visible="area(b6,h6,h3,g3,g1)"
 +
  contents="R ↑:g1 g3 S red:(h5--h6) E →:(h5--h6)"
 +
  />
 +
 +
<hexboard size="6x9"
 +
  coords="none"
 +
  edges="bottom"
 +
  visible="area(a6,i6,i4,g2,g1,e3,d3)"
 +
  contents="R ↑:g1 g3 S red:(i5--i6) red:(b5--a6) E →:(i5--i6) ←:(b5--a6) +:(g2 e4 g4)"
 +
  />
 +
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.
  
 
[[category:edge templates]]
 
[[category:edge templates]]
 
[[category:definition]]
 
[[category:definition]]

Revision as of 16:51, 15 February 2021

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.