Check out Grant Acedrex, our featured variant for April, 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
The birth of 3 new variants- part 3 : Grand Apothecary Chess Classic[Subject Thread] [Add Response]
Aurelian Florea wrote on Mon, May 31, 2021 07:01 AM UTC in reply to Fergus Duniho from Sun May 30 04:30 PM:

Works now. Don't worry.


Aurelian Florea wrote on Mon, May 31, 2021 06:20 AM UTC in reply to Fergus Duniho from Sun May 30 04:30 PM:

The comments section of the developer guide does not work on edge!


🕸Fergus Duniho wrote on Sun, May 30, 2021 04:30 PM UTC in reply to Aurelian Florea from 08:31 AM:

@Fergus It seems that the infinite loop was caused by the following code:

setelem op .JW + elem .JW op 1; setelem op .jw + elem .jw op 1;

That's two lines of code. In the first line, you are trying to increment #op[".JW"] by one, and in the second, you are trying to increment #op[".jw"] by one.

.jw is the wazir camel piece and I had wanted to to increase the number of them in reserve. Probably the dot is causing trouble. Do you agree?

Yes, it looks like it is causing trouble. In a test I ran, it incremented #op["JW"] and #op["jw"] by one instead of the elements you named. This is probably because the period is now used as a separator between array and element names, and the setelem command now just concatenates the array and element names by putting a period between them, and uses this concatenated name with the function for setting a user variable.

What I would recommend is to follow the instructions I have previously given for replacing piece labels without using aliases, which is in the comments for the Game Courier Developer's Guide. This would give you nice clean piece labels that you can use in your code without running into problems like this.


Aurelian Florea wrote on Sun, May 30, 2021 08:31 AM UTC in reply to Fergus Duniho from Sat May 29 05:48 PM:

@Fergus It seems that the infinite loop was caused by the following code:

setelem op .JW + elem .JW op 1; setelem op .jw + elem .jw op 1;

.jw is the wazir camel piece and I had wanted to to increase the number of them in reserve. Probably the dot is causing trouble. Do you agree?


🕸Fergus Duniho wrote on Sat, May 29, 2021 05:48 PM UTC in reply to Aurelian Florea from 08:03 AM:

I have a preset for one of my new games. Once after saving the preset I could not access it anymore as I get a totally white window. I use microsoft edge. What happens?

My best guess is that your code contains an infinite loop. You can figure things out more precisely by going here:

https://www.chessvariants.com/play/pbm/play.php?game=Grand+Apothecary+Chess+3&settings=Default&submit=Edit

  1. Save each block of code to a text file on your computer.
  2. Delete each full block of code in turn until you determine which block of code is causing this to happen.
  3. Restore your code from your backup.
  4. Working with the block of code that is buggy, delete or comment out large portions of it to determine where the problem lies. Make sure that each portion you delete or comment out can be safely removed without breaking up control structures.
  5. Once you isolate the problem to a large section, delete or comment out smaller parts of that section until you find the line that is causing your problem.
  6. Examine that line to figure out what the problem is, fix it, and see if it fixes your problem.

Aurelian Florea wrote on Sat, May 29, 2021 08:03 AM UTC:

@Fergus

https://www.chessvariants.com/play/pbm/play.php?game=Grand+Apothecary+Chess+3&settings=Default

In the link above I have a preset for one of my new games. Once after saving the  preset I could not acces it anymore as I get a totally white window. I use microsoft edge. What happens?


🕸Fergus Duniho wrote on Mon, Feb 1, 2021 05:42 PM UTC:

I redid the Thunderbirds to make them look good on both light and dark backgrounds. I did this by anti-aliasing them against a grey (#808080) background.


🕸Fergus Duniho wrote on Mon, Feb 1, 2021 05:05 PM UTC in reply to Aurelian Florea from 07:16 AM:

Fergus, I don't see them in alfaerie many though.

Since the most appropriate labels were not already taken by other pieces, I added them as fb/FB for Firebird and as tb/TB for Thunderbird.


Aurelian Florea wrote on Mon, Feb 1, 2021 07:16 AM UTC:

Fergus, I don't see them in alfaerie many though.


Aurelian Florea wrote on Mon, Feb 1, 2021 07:13 AM UTC:

Also don't bother with other pieces as I have renamed the Cyclops and Giant to tiger and lyon.


Aurelian Florea wrote on Mon, Feb 1, 2021 05:54 AM UTC:

Thnaks very much, Fergus!


🕸Fergus Duniho wrote on Sun, Jan 31, 2021 10:38 PM UTC in reply to Aurelian Florea from Sat Jan 30 01:52 PM:

I need a Valkyrie, a firebird, a thunderbird, a giant and a cyclops!

I made two of these using art I found on the Internet:

Firebird

White Firebird

Black Firebird

Thunderbird

White Thunderbird

Black Thunderbird


Aurelian Florea wrote on Sat, Jan 30, 2021 03:48 PM UTC in reply to Bn Em from 02:42 PM:

Thanks for your suggestions. I'll take them into consideration.


Bn Em wrote on Sat, Jan 30, 2021 02:42 PM UTC in reply to Aurelian Florea from 01:52 PM:

OK so for the birds (I assume based on previous comments that ‘thunderbolt’ is a typo, though I suppose md or something suggests some kind of energy) I'd go with either modified bird pictures (things like _PA_cd, _PA_wa, _PA_wc, _jc_af, !aaf, !aak, !aaw ⁊c) or something which suggests the move (so the likes of _JG_bgr, _JG_bspgr, _JG_co, _JG_gr, _JG_ha, _JG_raa, _JG_rc, _JG_rcd, _JG_rcflaa, _JG_re, _JG_rspaa, _MLV_si2 ⁊c.).

The humanoids could, given their moves, also draw from the same set as the birds, or you could just go with the various human heads (ge, maybe th or ch, _MLV_ge, _MLV_ma ⁊c) — as far as the cyclops is concerned, you can only see up to one eye at a time(!) Alternatively _MH_ge kind of looks like an eye.

As for the Valkyrie, idk how I'd represent an actual valkyrie so I'd suggest some kind of augmented bishop. _MH_b, _JG_ap2b, or _JG_apb2b perhaps?


Aurelian Florea wrote on Sat, Jan 30, 2021 01:52 PM UTC in reply to Bn Em from 12:44 PM:

I need a Valkyrie, a firebird, a thunderbird, a giant and a cyclops!


Bn Em wrote on Sat, Jan 30, 2021 12:44 PM UTC:

Are you sure the rather extensive Alfaerie: Many set doesn't have what you need? If not, what do you feel you're missing?


Aurelian Florea wrote on Sat, Jan 30, 2021 08:08 AM UTC in reply to Jean-Louis Cazaux from 07:52 AM:

They will represent the pieces in my new Grand apothecary chess with it's 3 variations alert, classic and modern. I'd prefer to make them alllfaerie style but I have no tallent. So I chose those or the simbolic ones. I have 5 pieces missing from allfaerie.


Jean-Louis Cazaux wrote on Sat, Jan 30, 2021 07:52 AM UTC in reply to Aurelian Florea from Fri Jan 29 10:00 PM:

Exact, very sorry, I had not looked carefully enough. What is your purpose for designing those pictures?


Aurelian Florea wrote on Fri, Jan 29, 2021 10:00 PM UTC in reply to Jean-Louis Cazaux from 07:32 PM:

The second and third links are very similar but different. I have made pictures with letters, but I'm not very proud of them! Thanks for your interest Jean-Louis!


Jean-Louis Cazaux wrote on Fri, Jan 29, 2021 07:32 PM UTC in reply to Aurelian Florea from 08:16 AM:

Quite mysterious for me. The 1st link doesn't work. The 2nd and the 3rd show the same thing. I suspect that you are posting comments on a page which I can see because I'm not an admin. I can only see your post in the Explore>Comments page.

I try to guess. You want an opinion on a proposal of pieces' icons which are either symbolising the moves or showing a letter.

My opinion on moves-based icons is I don't feel at ease with them to play with. On letter-based icons, I think they have several drawbacks, they are mostly valid for English-speakers, they are affected by the direction from where they are read (same as some are complaining for shogi's pieces).


Aurelian Florea wrote on Fri, Jan 29, 2021 08:16 AM UTC:

Try the comment made a few days ago by me on this specific topic. And also on Grand Apothecary Chess alert and Grand Apothecary chess classic. This means:

here,here and here.


Jean-Louis Cazaux wrote on Fri, Jan 29, 2021 07:18 AM UTC in reply to Aurelian Florea from 01:21 AM:

I guess I don't see the same page as you. I look at it from the Explore>Comments. There I see no images and no link to another page


Aurelian Florea wrote on Fri, Jan 29, 2021 01:21 AM UTC in reply to Jean-Louis Cazaux from Thu Jan 28 08:01 PM:

On the comments below!


Jean-Louis Cazaux wrote on Thu, Jan 28, 2021 08:01 PM UTC in reply to Aurelian Florea from 02:23 PM:

where is the link to see the images?


Aurelian Florea wrote on Thu, Jan 28, 2021 02:23 PM UTC:

I have updated the images on all three variants below. The are now just characters. Please take a look and give an opinion!


25 comments displayed

Later Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.