Difference between revisions of "User:Mason"

From HexWiki
Jump to: navigation, search
(Condense examples in to 1 diagram. Add edge names.)
Line 1: Line 1:
 
== Relative Coordinates ==
 
== Relative Coordinates ==
 
This is a coordinate system adapted from [https://senseis.xmp.net/?Coordinates%2FRelativeCoordinates Go] that allows us to talk about important moves in the same way, regardless of board size. We use YX instead of XY because row is more important in Hex, and because we're taking the bottom red edge as our perspective, as is customary. This also most closely resembles how people talk about certain moves already. 4-4 becomes 44. 5-4 becomes 54'.
 
This is a coordinate system adapted from [https://senseis.xmp.net/?Coordinates%2FRelativeCoordinates Go] that allows us to talk about important moves in the same way, regardless of board size. We use YX instead of XY because row is more important in Hex, and because we're taking the bottom red edge as our perspective, as is customary. This also most closely resembles how people talk about certain moves already. 4-4 becomes 44. 5-4 becomes 54'.
 
+
* '''A:''' 44
44
+
* '''B:''' 54'
<hexboard size="4x4"
+
* '''C:''' 5'4
  edges="bottom left"
+
* '''D:''' 4'4'
 +
* '''1:''' 2'3
 +
* '''2:''' 5'2
 +
<hexboard size="13x13"  
 
   coords="none"
 
   coords="none"
   contents="R d1"
+
   contents="R A:d10 B:j9 C:d5 D:j4 1:c2 2:b5 3:b8"
 
   />
 
   />
 +
I left '''3''' out because it requires some more explaining. On it's own, '''3''' would be 62. However, in the context of stones '''1''' and '''2''', it is better to label it as 8'2. This is because the sequence 2'3, 5'2, 8'2 is a common opening sequence, and labeling it as 8'2 means it won't change with board size. The row that '''3''' is on is based off of the 5'2 stone, not the red edge.
  
54'
+
=== Edges ===
<hexboard size="5x4"
+
We now have a much nicer way to refer to the edges: red, red', blue, blue'.
  edges="bottom right"
+
  coords="none"
+
  contents="R a1"
+
  />
+
 
+
5'4
+
<hexboard size="5x4"
+
  edges="top left"
+
  coords="none"
+
  contents="R d5"
+
  />
+
 
+
4'4'
+
<hexboard size="4x4"
+
  edges="top right"
+
  coords="none"
+
  contents="R a4"
+
  />
+
 
+
We don't always have to use the smallest number if the reference point for the move is on a different half of the board. Here, stone A could be labeled as 62, but it would be preferable to label it as 8'2 when talking about it in the context of the other two stones, as this is a common opening sequence. Labeling it as 8'2 insures that that pattern is always labeled the same regardless of board size.
+
 
+
<hexboard size="13x3"
+
  edges="top left bottom"
+
  coords="none"
+
  contents="R c2 b5 A:b8"
+
  />
+

Revision as of 17:56, 5 March 2023

Relative Coordinates

This is a coordinate system adapted from Go that allows us to talk about important moves in the same way, regardless of board size. We use YX instead of XY because row is more important in Hex, and because we're taking the bottom red edge as our perspective, as is customary. This also most closely resembles how people talk about certain moves already. 4-4 becomes 44. 5-4 becomes 54'.

  • A: 44
  • B: 54'
  • C: 5'4
  • D: 4'4'
  • 1: 2'3
  • 2: 5'2
1D2C3BA

I left 3 out because it requires some more explaining. On it's own, 3 would be 62. However, in the context of stones 1 and 2, it is better to label it as 8'2. This is because the sequence 2'3, 5'2, 8'2 is a common opening sequence, and labeling it as 8'2 means it won't change with board size. The row that 3 is on is based off of the 5'2 stone, not the red edge.

Edges

We now have a much nicer way to refer to the edges: red, red', blue, blue'.