I was just trying direction to see what kind of outputs it gives on a horizontal hexagonal board. This is the code
set north direction g7 g8;
set northeast direction g7 h7;
set northwest direction g7 f8;
set south direction g7 g6;
set southeast direction g7 h6;
set southwest direction g7 f7;
print #north #northeast #northwest #south #southeast #southwest;
and the output was
Array
(
[0] => w
[1] => se
[2] => s
[3] => nw
[4] => e
[5] => #north
)
I was just trying
direction
to see what kind of outputs it gives on a horizontal hexagonal board. This is the codeand the output was
What is happening with #north?