Difference between revisions of "User:Selinger"
Line 1: | Line 1: | ||
= Proposed article: Flank = | = Proposed article: Flank = | ||
− | A '''flank''' is a sequence of [[friendly]] [[stone]]s that are either adjacent or linked by [[bridge]]s in a certain way, for example like this: | + | A '''flank''' is a sequence of [[friendly]] [[stone]]s that are either adjacent or linked by [[bridge]]s in a certain way, and with a certain amount of space on one side, for example like this: |
<hexboard size="6x11" | <hexboard size="6x11" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | visible="area(a6,d6,g5,k3, | + | visible="area(a6,d6,g5,k3,k1,i1,e3,d3,a4)" |
− | contents=" | + | contents="R 1:a6 2:b6 3:c6 4:e5 5:f5 6:h4 7:j3 8:k3" |
/> | /> | ||
Apart from [[ladder]]s, flanks are one of the most common "long-distance" patterns occuring in Hex. They are useful for [[climbing]], and they can be used to form large [[interior template|interior]] and [[edge template]]s. | Apart from [[ladder]]s, flanks are one of the most common "long-distance" patterns occuring in Hex. They are useful for [[climbing]], and they can be used to form large [[interior template|interior]] and [[edge template]]s. | ||
− | What makes a flank useful is that its owner can use it for [[climbing]]. For example, consider the following situation, and assume the stones " | + | What makes a flank useful is that its owner can use it for [[climbing]]. For example, consider the following situation, and assume the stones "B" and "C" are connected to opposite edges. |
− | <hexboard size=" | + | <hexboard size="6x11" |
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
visible="area(a6,d6,g5,k3,k1,i1,e3,d3,a4)" | visible="area(a6,d6,g5,k3,k1,i1,e3,d3,a4)" | ||
− | contents=" | + | contents="R C:a4 A:a6 b6 c6 e5 f5 h4 j3 B:k3 E *:k1" |
/> | /> | ||
− | Then | + | Then Red can [[climbing|climb]] all the way from C to the cell marked "*", by a sequence of forcing moves as follows: |
<hexboard size="6x12" | <hexboard size="6x12" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
visible="area(a6,d6,g5,k3,k1,i1,e3,d3,a4)" | visible="area(a6,d6,g5,k3,k1,i1,e3,d3,a4)" | ||
− | contents=" | + | contents="R A:a6 b6 c6 e5 f5 h4 j3 B:k3 |
− | + | R C:a4 2:b4 4:c4 6:d6 8:e3 10:f3 12:g5 14:h2 16:i4 18:j1 20:k1 | |
− | + | B 1:a5 3:b5 5:d5 7:c5 9:e4 11:g4 13:f4 15:i3 17:h3 19:j2 21:k2" | |
/> | /> | ||
+ | It is not actually necessary for Red to play moves 6, 12, and 16; Red could also skip these moves. However, they usually do not hurt and may be useful to Red by solidifying Red's position below the flank. | ||
+ | |||
Intruding into the flank's bridges does not help the opponent. The flank still works even if all the bridges have already been filled in: | Intruding into the flank's bridges does not help the opponent. The flank still works even if all the bridges have already been filled in: | ||
<hexboard size="6x12" | <hexboard size="6x12" | ||
Line 31: | Line 33: | ||
coords="none" | coords="none" | ||
visible="area(a6,d6,g5,k3,k1,i1,e3,d3,a4)" | visible="area(a6,d6,g5,k3,k1,i1,e3,d3,a4)" | ||
− | contents=" | + | contents="R C:a4 A:a6 b6 c6 e5 f5 h4 j3 B:k3 E *:k1 |
− | + | B d5 R d6 B g4 R g5 B i3 R i4" | |
/> | /> | ||
== Definition == | == Definition == | ||
− | A flank can belong to Red or to Blue, and it can be oriented in any of the 6 cardinal directions of the Hex board (a cardinal direction is parallel to an edge or to the short diagonal). In addition, it can be facing up or down (the side it is facing is the side where the empty space is). For simplicity, | + | A flank can belong to Red or to Blue, and it can be oriented in any of the 6 cardinal directions of the Hex board (a cardinal direction is parallel to an edge or to the short diagonal). In addition, it can be facing up or down (the side it is facing is the side where the empty space is). For simplicity, the following definition refers to red flanks that are oriented left-to-right and facing upward. |
− | We can define such flanks as follows: | + | We can define such flanks inductively as follows: |
− | * A single | + | * Base case: A single red stone, together with the indicated space, is a flank. The stone marked "+" is both the starting point and the endpoint of the flank.<br>F0: <hexboard size="3x1" |
+ | float="inline" | ||
+ | edges="none" | ||
+ | coords="none" | ||
+ | contents="R +:a3" | ||
+ | /> | ||
− | * A flank | + | * Induction step: A flank can be extended with any of the following patterns:<br>F1: <hexboard size="3x2" |
float="inline" | float="inline" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | contents=" | + | contents="R -:a3 +:b3" |
− | /><hexboard size=" | + | /> F2: <hexboard size="4x3" |
float="inline" | float="inline" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | visible="area(a2, | + | visible="area(a2,a4,b4,c1,c3,b1)" |
− | contents=" | + | contents="R -:a4 +:c3" |
− | /><hexboard size=" | + | /> F3: <hexboard size="4x3" |
float="inline" | float="inline" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | visible="area(a2, | + | visible="area(a2,a4,b4,c1,c3,b1)" |
− | contents=" | + | contents="R -:a4 +:c3 B b3 R b4" |
− | /><br>Here, "−" denotes the previous endpoint, and "+" denotes the new endpoint. | + | /><br>Here, "−" denotes the previous endpoint, and "+" denotes the new endpoint. The orientation of these patterns matters, i.e., they cannot be rotated. |
− | Here is an example of | + | Here is an example of the flank obtained by starting with F0 and then extending with F1, F1, F3, F1, F2, F3, and F1. We always use "A" to denote the starting point and "B" to denote the endpoint of the flank: |
<hexboard size="6x11" | <hexboard size="6x11" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | visible="area(a6,d6,g5,k3, | + | visible="area(a4,a6,d6,g5,k3,k1,i1,e3,d3)" |
− | contents=" | + | contents="R A:a6 b6 c6 B d5 R d6 e5 f5 h4 B i3 R i4 j3 B:k3" |
/> | /> | ||
+ | We can also use algebraic notation to denote flanks. For example, we write F0+F1+F1+F3+F1+F2+F3+F1 for the above flank. | ||
== Capped flank == | == Capped flank == | ||
A flank is '''capped''' if it has been extended past its endpoint "B" with one of the following patterns: | A flank is '''capped''' if it has been extended past its endpoint "B" with one of the following patterns: | ||
− | <hexboard size=" | + | C1: <hexboard size="3x2" |
float="inline" | float="inline" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | visible=" | + | visible="area(a1,a3,b2,b1)" |
− | contents=" | + | contents="R B:a3 b2" |
− | /><hexboard size=" | + | /> C2: <hexboard size="3x2" |
float="inline" | float="inline" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | contents=" | + | visible="area(a1,a3,b2,b1)" |
− | /><hexboard size="3x2" | + | contents="R B:a3 b1" |
+ | /> C3: <hexboard size="3x2" | ||
float="inline" | float="inline" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | visible=" | + | visible="area(a1,a3,b2,b1)" |
− | contents=" | + | contents="R B:a3 b1 B a2 R b2" |
− | /><hexboard size=" | + | /> C4: <hexboard size="3x3" |
float="inline" | float="inline" | ||
edges="none" | edges="none" | ||
coords="none" | coords="none" | ||
− | visible=" | + | visible="-c3" |
− | contents=" | + | contents="R B:a3 c2 c1" |
/> | /> | ||
− | Here, "B" denotes the original endpoint of the flank. | + | Here, "B" denotes the original endpoint of the flank. Other cap patterns are also possible; the above C1–C4 are just some common examples of caps. |
− | + | Here are some examples of capped flanks. In each case, the flank's starting point "A" and original endpoint "B" are shown. | |
− | If | + | F0+F1+C1: |
+ | <hexboard size="3x3" | ||
+ | edges="none" | ||
+ | coords="none" | ||
+ | visible="-c3" | ||
+ | contents="R A:a3 B:b3 c2" | ||
+ | /> | ||
+ | F0+F2+C2: | ||
+ | <hexboard size="4x4" | ||
+ | edges="none" | ||
+ | coords="none" | ||
+ | visible="area(a2,a4,b4,d2,d1,b1)" | ||
+ | contents="R A:a4 B:c3 d1" | ||
+ | /> | ||
+ | F0+F2+F2+F3+F2+C1: | ||
+ | <hexboard size="6x9" | ||
+ | edges="none" | ||
+ | coords="none" | ||
+ | visible="area(a6,b6,g4,i2,i1,g1,d2,b3,a4)" | ||
+ | contents="R A:a6 c5 e4 f4 B:h3 i2" | ||
+ | /> | ||
+ | |||
+ | For any flank, let "C" be the hex that is positioned relative to the flank's starting point "A" as follows: | ||
+ | <hexboard size="3x1" | ||
+ | edges="none" | ||
+ | coords="none" | ||
+ | contents="R A:a3 E C:a1" | ||
+ | /> | ||
+ | If Red plays at "C" and climbs along a capped flank, Red will connect. Consequently, any capped flank, with a red stone added at position "C", is a [[strong connection|connected group]]. | ||
ADD EXAMPLES. | ADD EXAMPLES. |
Revision as of 17:10, 7 March 2021
Contents
Proposed article: Flank
A flank is a sequence of friendly stones that are either adjacent or linked by bridges in a certain way, and with a certain amount of space on one side, for example like this:
Apart from ladders, flanks are one of the most common "long-distance" patterns occuring in Hex. They are useful for climbing, and they can be used to form large interior and edge templates.
What makes a flank useful is that its owner can use it for climbing. For example, consider the following situation, and assume the stones "B" and "C" are connected to opposite edges.
Then Red can climb all the way from C to the cell marked "*", by a sequence of forcing moves as follows:
It is not actually necessary for Red to play moves 6, 12, and 16; Red could also skip these moves. However, they usually do not hurt and may be useful to Red by solidifying Red's position below the flank.
Intruding into the flank's bridges does not help the opponent. The flank still works even if all the bridges have already been filled in:
Definition
A flank can belong to Red or to Blue, and it can be oriented in any of the 6 cardinal directions of the Hex board (a cardinal direction is parallel to an edge or to the short diagonal). In addition, it can be facing up or down (the side it is facing is the side where the empty space is). For simplicity, the following definition refers to red flanks that are oriented left-to-right and facing upward.
We can define such flanks inductively as follows:
- Base case: A single red stone, together with the indicated space, is a flank. The stone marked "+" is both the starting point and the endpoint of the flank.
F0:
- Induction step: A flank can be extended with any of the following patterns:
F1: F2: F3:
Here, "−" denotes the previous endpoint, and "+" denotes the new endpoint. The orientation of these patterns matters, i.e., they cannot be rotated.
Here is an example of the flank obtained by starting with F0 and then extending with F1, F1, F3, F1, F2, F3, and F1. We always use "A" to denote the starting point and "B" to denote the endpoint of the flank:
We can also use algebraic notation to denote flanks. For example, we write F0+F1+F1+F3+F1+F2+F3+F1 for the above flank.
Capped flank
A flank is capped if it has been extended past its endpoint "B" with one of the following patterns:
C1: C2: C3: C4:Here, "B" denotes the original endpoint of the flank. Other cap patterns are also possible; the above C1–C4 are just some common examples of caps.
Here are some examples of capped flanks. In each case, the flank's starting point "A" and original endpoint "B" are shown.
F0+F1+C1:
F0+F2+C2:
F0+F2+F2+F3+F2+C1:
For any flank, let "C" be the hex that is positioned relative to the flank's starting point "A" as follows:
If Red plays at "C" and climbs along a capped flank, Red will connect. Consequently, any capped flank, with a red stone added at position "C", is a connected group.
ADD EXAMPLES.
POINT OUT HOW THIS GENERALIZES A 2ND ROW LADDER, WITH THE FLANK GENERALIZING THE "EDGE" AND THE CAP GENERALIZING A LADDER ESCAPE.
Interior templates from capped flanks
Consider a capped flank with starting point "A", and suppose the hex marked "*" is also occupied by Blue:
Then, given the right amount of space, the hex marked "*" together with the capped flank forms an interior templates.
ADD SOME EXAMPLES HERE. ALSO EXPLAIN MORE CAREFULLY WHAT IS THE "RIGHT" AMOUNT OF SPACE.
Moreover, two capped flanks growing in opposite directions from an empty hex and facing the same way form an interior template.
ADD EXAMPLE.
Edge templates from capped flanks
ADD EXAMPLES.
Usage example
FROM A GAME.
3rd row ladders along flanks
Above, we pointed out that climbing along a flank is analogous to a 2nd row ladder. It is similarly possible to climb along a flank at a greater distance. In other words, there is an analog of a 3rd row ladder along a flank. This requires slightly more space, and if the ladder is to connect, it requires a different kind of cap (or ladder escape).
ADD EXAMPLE.