Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Later Reverse Order EarlierEarliest
Apothecary Chess-Modern. Large board variant obtained through tinkering with known games.[All Comments] [Add Comment or Rating]
Jean-Louis Cazaux wrote on Wed, Sep 20, 2023 02:47 PM EDT in reply to Aurelian Florea from 11:30 AM:

great! I want to code Bigorra. I have more than 26 different pieces, so I don't know how to do it. I wanted to look how you did for Ap. Chess.


💡📝Aurelian Florea wrote on Wed, Sep 20, 2023 11:30 AM EDT in reply to Aurelian Florea from 11:28 AM:

@Jean Louis, Now both 10x10 apothecary presets work fine! Thanks for your interest!


💡📝Aurelian Florea wrote on Wed, Sep 20, 2023 11:28 AM EDT in reply to Fergus Duniho from 11:10 AM:

@Fergus, You were correct; a simple empty array has done the trick. Thanks!


🕸Fergus Duniho wrote on Wed, Sep 20, 2023 11:10 AM EDT in reply to Aurelian Florea from Tue Sep 19 02:12 AM:

Have you any idea on what is going on?

Apart from instances in the fairychess include file, I see one instance of onboard in your code. It appears in your stalemated subroutine, and the variable passed to it has previously been calculated from the -Range function of a particular piece that has been found on the board. So, the problem may be due to the output of a particular range function. One -Range function that looks suspicious is your None-Range function, which returns an array of two empty arrays. It might work if you change this to just return an empty array, as a -Range function is supposed to return an array of coordinates, not an array of arrays. If that doesn't fix the problem, you can put in some debugging code to find out which -Range function is giving bad output when the code stops working.


🕸Fergus Duniho wrote on Wed, Sep 20, 2023 10:53 AM EDT in reply to H. G. Muller from Mon Sep 18 06:17 AM:

This preset is probably automated with GAME code generted by the Play-Test Applet.

I looked at the code by appending "&submit=Edit" to the query string, and it has not been generated by the Play-Test Applet.


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 02:12 AM EDT in reply to Aurelian Florea from 01:59 AM:

Feegus, Have you any idea on what is going on?


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 01:59 AM EDT in reply to Aurelian Florea from 01:34 AM:

I have noticed the the difference between the two presets (besides the normal ones) is that the working one initializes the lastpiecetye (needed for the joker) to rook. It supposes to be initialized to None. When I initialize it to None it breaks like the other preset. So the problem is the treatment of none. So I get this error:

onboard expects a string, not an array.


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 01:34 AM EDT in reply to Aurelian Florea from 01:28 AM:

@Fergus & HG No worry. I have managed!


💡📝Aurelian Florea wrote on Tue, Sep 19, 2023 01:28 AM EDT:

@Fergus or @HG

Can one of you help me be telling me how to access the preset. Currently I get the error bellow. But there was something I can't remember that if added to the page I could circumvent the error. Something like submit=edit. I don't remember exactly.


Jean-Louis Cazaux wrote on Mon, Sep 18, 2023 11:48 AM EDT in reply to Aurelian Florea from 07:17 AM:

If it may help, the Apothecary Chess-Classic doesn't have the issue, it works fine loading the GC.


💡📝Aurelian Florea wrote on Mon, Sep 18, 2023 07:17 AM EDT in reply to H. G. Muller from 06:17 AM:

The preset for this game is not automated. Only the Grand Apothecary Games are. And they work fine! This used to work. I'll take a look.

Later Edit : I forgot how to enter the preset forcibly!


H. G. Muller wrote on Mon, Sep 18, 2023 06:17 AM EDT in reply to Jean-Louis Cazaux from 05:33 AM:

This preset is probably automated with GAME code generted by the Play-Test Applet. (I.e. the code in the betza.txt include.) This code indeed uses the 'onboard' test in several places, mostly for parsing the user's input move.

But the error message appears for me on invoking the preset from the link in the article, which should bring me to the start position. Only the Pre-Game GAME code should be executed at that point, and this would not do any onboard tests.

It seems to me that Game Courier acts here as if the user has entered a move, and then crashes on what it thinks the user entered. (Which would not be surprising if it pulled some garbage string out of nothing.)

I have not changed anything in the betza.txt include file since Aurelean reported the timeout of the mate test, and I cannot imagine that I introduced an error at that time that would not have been discovered in the mean time.


Jean-Louis Cazaux wrote on Mon, Sep 18, 2023 05:33 AM EDT:

The link for Game Courier of Apothecary Chess Modern seems broken. I'm getting this message:

SYNTAX ERROR IN USER INPUT: on turn 0:

onboard expects a string, not an array.

Go back and try again


💡📝Aurelian Florea wrote on Sun, Jan 29, 2023 05:32 AM EST in reply to Aurelian Florea from Sat Jan 28 04:11 AM:

@Fergus Have you any idea about what is going on!


💡📝Aurelian Florea wrote on Sat, Jan 28, 2023 04:11 AM EST in reply to Aurelian Florea from 02:08 AM:

Now I see what you mean. I don't think it is something I have done!


💡📝Aurelian Florea wrote on Sat, Jan 28, 2023 02:08 AM EST in reply to Daniel Zacharias from Fri Jan 27 07:44 PM:

To me they look normal!


Daniel Zacharias wrote on Fri, Jan 27, 2023 07:44 PM EST:

The diagrams on this and the Apothecary Chess-Classic page are missing white's brouhaha squares, and so are both corresponding game courier presets.


17 comments displayed

Later Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.