Difference between revisions of "Peep"
(Changing the direction of the redirect, as the term "peep" seems more common in Hex than "nozoki") |
(overhauled page) |
||
Line 1: | Line 1: | ||
− | A '''peep''' is a | + | A '''peep''' is a move in specific region such that |
− | Sometimes it's hard to tell if a move is [[Forcing moves|forcing]], | + | * Looking just at that region, it would normally be a [[Forcing moves|forcing move]] (even if the global situation means the opponent should not respond anywhere nearby). |
+ | |||
+ | and | ||
+ | |||
+ | * If the opponent does respond in that region (rather than merely close to it), then one can easily prove that the exchange does not help the opponent and can't easily prove that the exchange doesn't matter. | ||
+ | |||
+ | . | ||
+ | |||
+ | |||
+ | |||
+ | This situation occurs if one threatens to cut a connection between major groups or key stones of the opponent, or to create a connection between one's own major groups or key stones. | ||
+ | |||
+ | Sometimes it's hard to tell if a move is sufficiently [[Forcing moves|forcing]], and whether the opponent can gain by resisting, rather than just responding in the obvious way. Playing correct peeps is one of the most sophisticated aspects of Hex strategy. | ||
Another term for peep is '''nozoki''' (borrowed from Go). | Another term for peep is '''nozoki''' (borrowed from Go). | ||
− | == | + | == Examples == |
− | <hexboard size=" | + | <hexboard size="3x3" |
− | coords=" | + | visible="-(a1 c3)" |
− | contents=" | + | edges="none" |
− | + | coords="none" | |
+ | contents="R c1 b3 B E *:c2 S red:(b1 a3) blue:a2" | ||
+ | /> | ||
− | + | If at least one of the shaded hexes is occupied by a piece of the corresponding color, then Blue playing * is a peep. This is because, in such cases, | |
− | + | <hexboard size="3x3" | |
+ | visible="-(a1 c3)" | ||
+ | edges="none" | ||
+ | coords="none" | ||
+ | contents="R c1 b3 2:c2 B E d:b2 S red:(b1 a3) blue:a2" | ||
+ | /> | ||
+ | |||
+ | Red playing * would [[Dead cell|kill]] ''d'', so if Red just defends the [[Bridge|bridge]], then Blue can't do any better here than Blue playing * and Red responding with the central hex. | ||
+ | |||
+ | This is by far the most common form of peep, a "bridge peep". | ||
+ | |||
+ | |||
+ | |||
+ | Similarly, with suitable surrounding conditions, there can also be peeps at templates. | ||
+ | |||
+ | <hexboard size="5x4" | ||
+ | visible="-(d2 d3 c4 d4 c5 d5)" | ||
+ | edges="left top" | ||
+ | contents="R b5 B c3" | ||
+ | /> | ||
+ | |||
+ | Here, C3 has a [[Ziggurat|ziggurat]] to the left edge, | ||
+ | |||
+ | <hexboard size="5x4" | ||
+ | visible="-(d2 d3 c4 d4 c5 d5)" | ||
+ | edges="left top" | ||
+ | contents="R b5 B c3 S area(a2,a5,c3,c2)" | ||
+ | /> | ||
+ | |||
+ | so if Blue just defends the ziggurat, then Red can't do any better here | ||
+ | |||
+ | <hexboard size="5x4" | ||
+ | visible="-(d2 d3 c4 d4 c5 d5)" | ||
+ | edges="left top" | ||
+ | contents="R b5 a2 b2 c2 B c3 a4" | ||
+ | /> | ||
+ | |||
+ | than Red getting the outside of the ziggurat and C3 connecting left. | ||
+ | |||
+ | Red C2 [[Captured cell|captures]] C1 and D1, turning the corner into | ||
+ | |||
+ | <hexboard size="5x4" | ||
+ | visible="-(d2 d3 c4 d4 c5 d5)" | ||
+ | edges="left top" | ||
+ | contents="R b5 1:c2 c1 d1 B c3 a4 E *:a4" | ||
+ | /> | ||
+ | |||
+ | [[Dominated_cell#Star_decomposition_domination|a region where whoever moves connects]]. | ||
+ | |||
+ | [[Dominated_cell#Star_decomposition_domination|Giving Red A2 and B2 does not change that]], | ||
+ | |||
+ | <hexboard size="5x4" | ||
+ | visible="-(d2 d3 c4 d4 c5 d5)" | ||
+ | edges="left top" | ||
+ | contents="R b5 1:c2 c1 d1 a2 b2 B c3 a4 E *:a4" | ||
+ | /> | ||
+ | |||
+ | so Red's 1 is a peep at Blue's ziggurat. | ||
+ | |||
+ | By [[Dominated_cell#Star_decomposition_domination|star decomposition domination]], red C2 is at least as good for Red as red B2. | ||
+ | |||
+ | Also, red B2 [[Captured_cell#Examples|captures]] D1 and C2, so | ||
+ | |||
+ | <hexboard size="4x4" | ||
+ | visible="c1 d1 c2 b2 a3 b3 b4" | ||
+ | edges="none" | ||
+ | coords="none" | ||
+ | contents="R a3 b2 c1 d1 B b4" | ||
+ | /> | ||
+ | |||
+ | red B2 is at least as good for Red as red C2. | ||
+ | |||
+ | Thus red B2 is [[Dominated_cell#Mutually_dominating_moves|equivalent]] to red C2, so | ||
+ | |||
+ | <hexboard size="5x4" | ||
+ | visible="-(d2 d3 c4 d4 c5 d5)" | ||
+ | edges="left top" | ||
+ | contents="R b5 1:b2 1:c2 B c3 a4 E *:a4" | ||
+ | /> | ||
+ | |||
+ | Red playing B2 instead of C2 is also a peep at Blue's ziggurat. | ||
== Crucial peep == | == Crucial peep == | ||
Line 38: | Line 132: | ||
/><br/> | /><br/> | ||
− | == | + | == Bad Peeps == |
+ | |||
+ | There are at least several ways a peep can be bad: | ||
+ | |||
+ | * Due to circumstances outside of the region, the apparent cutting threat does not actually work, in which case the peep is close to a wasted move. | ||
+ | |||
+ | * While the apparent threat does work, it's not big-enough for the opponent to respond by defending against that threat. | ||
+ | |||
+ | |||
+ | * The opponent can [[Minimax|minimax]], rather than answering more-locally. | ||
+ | |||
+ | <hexboard size="8x8" | ||
+ | contents="R a3 e4 e5 d7 g7 B e2 d3 d5 f6" | ||
+ | /> | ||
+ | |||
+ | Here, Blue wins fairly easily with G1 or F3. | ||
+ | |||
+ | <hexboard size="8x8" | ||
+ | contents="R a3 e4 e5 d7 g7 B e2 d3 d5 f6 1:g1 1:f3" | ||
+ | /> | ||
+ | |||
+ | If Blue plays the bridge peep, then * would give the win back to Blue | ||
+ | |||
+ | <hexboard size="8x8" | ||
+ | contents="R a3 e4 e5 d7 g7 2:g4 B e2 d3 d5 f6 1:d6 E *:e6" | ||
+ | /> | ||
+ | |||
+ | , but Red wins by instead [[Minimax|minimaxing]] with 2. | ||
+ | |||
+ | |||
+ | * The opponent benefits by resisting the peep. | ||
+ | |||
+ | == Resisting a Peep == | ||
+ | |||
+ | Rather than responding in the obvious way, the opponent can play a move that mitigates against the peep's threat, while also getting something else. The most common example of this is [[Foiling|foiling]]. | ||
+ | |||
+ | For example, Blue can play 2 instead of *. | ||
+ | |||
+ | <hexboard size="5x6" | ||
+ | visible="-area(a1,a4,d1)" | ||
+ | edges="bottom" | ||
+ | coords="none" | ||
+ | contents="R e1 d2 1:e3 B f2 d3 2:d4 E *:e2" | ||
+ | /> | ||
+ | |||
+ | Red could've gotten a height-2 ladder towards the right, but after 1 and 2, a red ladder towards the right would be height-3. | ||
+ | |||
+ | Note that this does not necessarily mean the peep was bad. | ||
+ | |||
+ | For example, Red could be fine with the ladder being height-3, and Red can now get | ||
+ | |||
+ | <hexboard size="5x6" | ||
+ | edges="left bottom" | ||
+ | coords="left bottom" | ||
+ | contents="R e1 d2 1:e3 3:c2 5:e2 B f2 d3 b2 2:d4 4:b4" | ||
+ | /> | ||
+ | |||
+ | C2 before pushing the ladder, whereas if Red had started with C2 | ||
+ | |||
+ | <hexboard size="5x6" | ||
+ | edges="left bottom" | ||
+ | coords="left bottom" | ||
+ | contents="R e1 d2 1:c2 3:e3 5:c4 B f2 d3 b2 2:b4 4:e2 6:c3" | ||
+ | /> | ||
+ | |||
+ | , then Blue would presumably just defend the bridges. | ||
+ | |||
+ | |||
+ | The consequences of resisting a peep can also be much harder to assess. | ||
− | * | + | <hexboard size="8x6" |
+ | visible="" | ||
+ | edges="left bottom" | ||
+ | coords="none" | ||
+ | contents="R f4 d2 1:f2 B arrow(2):f1 e3 2:d5 E *:e2" | ||
+ | /> | ||
− | + | Here, Blue chose to resist with 2, rather than just play *. | |
− | + |
Revision as of 02:35, 2 January 2021
A peep is a move in specific region such that
- Looking just at that region, it would normally be a forcing move (even if the global situation means the opponent should not respond anywhere nearby).
and
- If the opponent does respond in that region (rather than merely close to it), then one can easily prove that the exchange does not help the opponent and can't easily prove that the exchange doesn't matter.
.
This situation occurs if one threatens to cut a connection between major groups or key stones of the opponent, or to create a connection between one's own major groups or key stones.
Sometimes it's hard to tell if a move is sufficiently forcing, and whether the opponent can gain by resisting, rather than just responding in the obvious way. Playing correct peeps is one of the most sophisticated aspects of Hex strategy.
Another term for peep is nozoki (borrowed from Go).
Examples
If at least one of the shaded hexes is occupied by a piece of the corresponding color, then Blue playing * is a peep. This is because, in such cases,
Red playing * would kill d, so if Red just defends the bridge, then Blue can't do any better here than Blue playing * and Red responding with the central hex.
This is by far the most common form of peep, a "bridge peep".
Similarly, with suitable surrounding conditions, there can also be peeps at templates.
Here, C3 has a ziggurat to the left edge,
so if Blue just defends the ziggurat, then Red can't do any better here
than Red getting the outside of the ziggurat and C3 connecting left.
Red C2 captures C1 and D1, turning the corner into
a region where whoever moves connects.
Giving Red A2 and B2 does not change that,
so Red's 1 is a peep at Blue's ziggurat.
By star decomposition domination, red C2 is at least as good for Red as red B2.
Also, red B2 captures D1 and C2, so
red B2 is at least as good for Red as red C2.
Thus red B2 is equivalent to red C2, so
Red playing B2 instead of C2 is also a peep at Blue's ziggurat.
Crucial peep
Playing peeps can be very useful. In certain situations, playing a peep can make the difference between winning and losing. Consider the following example:
The only winning move for Red is the peep at d6. If Red misses it, the game proceeds as follows and Blue wins:
If Red starts by playing d6 instead, Red wins.
Bad Peeps
There are at least several ways a peep can be bad:
- Due to circumstances outside of the region, the apparent cutting threat does not actually work, in which case the peep is close to a wasted move.
- While the apparent threat does work, it's not big-enough for the opponent to respond by defending against that threat.
- The opponent can minimax, rather than answering more-locally.
Here, Blue wins fairly easily with G1 or F3.
If Blue plays the bridge peep, then * would give the win back to Blue
, but Red wins by instead minimaxing with 2.
- The opponent benefits by resisting the peep.
Resisting a Peep
Rather than responding in the obvious way, the opponent can play a move that mitigates against the peep's threat, while also getting something else. The most common example of this is foiling.
For example, Blue can play 2 instead of *.
Red could've gotten a height-2 ladder towards the right, but after 1 and 2, a red ladder towards the right would be height-3.
Note that this does not necessarily mean the peep was bad.
For example, Red could be fine with the ladder being height-3, and Red can now get
C2 before pushing the ladder, whereas if Red had started with C2
, then Blue would presumably just defend the bridges.
The consequences of resisting a peep can also be much harder to assess.
Here, Blue chose to resist with 2, rather than just play *.