Comments/Ratings for a Single Item
I imagine so; Haru and H.G. have both done a handful of examples. Of course some are easier than others (some of David Cannon's designs might be…tricky)
Is it possible to program games on unusually shaped boards if these can be translated into square ones
Game Courier will let you program games on unusually shaped boards with either the Custom Grid or the Custom shape. Custom Grid is designed for games that can fit onto a grid-like structure whereby each space is at the intersection of two axes even if the spaces do not have even sides or right angles.
and movements can be coded with alternating through morph,
The morph feature you mention is part of Interactive Diagrams, not part of Game Courier. But since GAME Code is Turing-complete, I expect the same feature could be programmed for Game Courier. However, Game Courier can also more easily handle location-dependent powers of movement if that is what you actually need.
it seems that accessing array items like this $pieces.a
no longer works.
Here is some test code:
print $pieces.a;
print elem a $pieces;
set pieces $pieces;
print #pieces.a;
print elem a #pieces;
And here is its output:
Array
(
)
BKnightBishop.gif
BKnightBishop.gif
BKnightBishop.gif
So, only the first one is not working. I'll look into this more tomorrow.
I have now got it working. I think the issue was that PHP has put some restrictions on the use of the $GLOBALS
variable. I had to rewrite the code so that I was not passing $GLOBALS
to a function. For example, something like array_key_exists($key, $GLOBALS)
was no longer working to tell whether a variable name existed, and I had to use something like isset($GLOBALS[$key])
instead.
6 comments displayed
Permalink to the exact comments currently displayed.
Is it possible to program games on unusually shaped boards if these can be translated into square ones, and movements can be coded with alternating through morph, so technically it’s a square variant with different visual representation? The best examples are Pentagonal Chess, Rocket Chess, Stair Chess, many Koval’s variants and more.