Check out Symmetric Chess, our featured variant for March, 2024.


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

Comments by catugo

EarliestEarlier Reverse Order LaterLatest
Apothecary Chess-Modern. Large board variant obtained through tinkering with known games.[All Comments] [Add Comment or Rating]
💡📝Aurelian Florea wrote on Fri, Jul 3, 2020 02:10 PM UTC:

@ Greg,

I prefer to keep the name  and maybe rename the settings files used for old games. Can it be done?


💡📝Aurelian Florea wrote on Sat, Jul 4, 2020 10:11 AM UTC:

I should use redirect then on the old settings file toward the new one, isn't it?


Apothecary Chess-Classic. Large board variant obtained through tinkering with known games.[All Comments] [Add Comment or Rating]
💡📝Aurelian Florea wrote on Mon, Jul 6, 2020 12:29 PM UTC:

@Fergus

The way I had thought the game, the joker should, when imitating a pawn, get only the regular power and not promotion rights or double move privileges. And that works best with moving some of the lines in the pawn function to the pawn subroutine. It should be rather easy.


💡📝Aurelian Florea wrote on Mon, Jul 6, 2020 01:41 PM UTC:

Ok, thanks for the heads up. I'll try to think at something else.


Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
Aurelian Florea wrote on Thu, Jul 9, 2020 09:24 AM UTC:

I have the same problem.

Probably Fergus is working for something new.


Apothecary Chess-Classic. Large board variant obtained through tinkering with known games.[All Comments] [Add Comment or Rating]
💡📝Aurelian Florea wrote on Tue, Jul 21, 2020 01:13 PM UTC:

@Fergus

A few weeks ago I have figured out that the joker imitates the pawn in all things which causes the joker moves to not be allowed.

To tackle this issue I have decided to write a Barren_Pawn function that the joker will use when imitating a pawn instead of imitating the regular pawn function. Otherwise things are unchanged. The Barren_Pawn functions are:

def White_Barren_Pawn checkaleap #0 #1 1 0 and empty #1 islower space #1 and or checkaleap #0 #1 1 -1 checkaleap #0 #1 1 1;

def White_Barren_Pawn-Range merge leaps #0 1 0 leaps #0 1 1;

def Black_Barren_Pawn checkaleap #0 #1 -1 0 and empty #1 isupper space #1 and or checkaleap #0 #1 -1 -1 checkaleap #0 #1 -1 1;

def Black_Barren_Pawn-Range merge leaps #0 1 0 leaps #0 1 1;

The piece of code involving the joker imitation is:

if != const alias $moved White_Joker:
  if != const alias $moved Pawn:
    set last_type_moved const alias $moved;
  else:
    set last_type_moved White_Barren_Pawn;
  endif;
endif;

and for black:

if != const alias $moved Black_Joker:
  if != const alias $moved Pawn:
    set last_type_moved const alias $moved;
  else:
    set last_type_moved Black_Barren_Pawn;
  endif;
endif;

I thought it should easily work. Unfortunately it does not. Any idea why that is?


💡📝Aurelian Florea wrote on Tue, Jul 21, 2020 07:32 PM UTC:

I have corrected the post move code to:

if != const alias $moved White_Joker:
  if != const alias $moved White_Pawn:
    set last_type_moved const alias $moved;
  else:
    set last_type_moved Black_Barren_Pawn;
  endif;
endif;

and similar for black. This code works.

But the Barren_Pawn worked fine when I had done only the move part of the pawn's powers but now I have added the capture part and nothing is legal anymore. Please help if you may! The code in question is:

def Black_Barren_Pawn
checkaleap #0 #1 0 -1 and cond empty #0 not capture empty #1
or checkleap #0 #1 -1 -1 or checkleap #0 #1 1 -1 
and cond empty #0 capture isupper space #1;


💡📝Aurelian Florea wrote on Wed, Jul 22, 2020 03:41 AM UTC:

I'm confused about what you want to say. Isn't it that : and cond empty #0 capture isupper space #1; does exactly that, capture for actual moves, and isupper space #1 checks for a potential victim in potential moves? Where am I wrong?


💡📝Aurelian Florea wrote on Wed, Jul 22, 2020 02:55 PM UTC:

I have corrected the mistake and now it goes like this:

def White_Barren_Pawn 
checkaleap #0 #1 0 1 and cond empty #0 not capture empty #1
or and checkaleap #0 #1 -1 1 or checkaleap #0 #1 1 1 
cond empty #0 capture islower space #1;
def White_Barren_Pawn-Range merge leaps #0 1 0 leaps #0 1 1;

def Black_Barren_Pawn
checkaleap #0 #1 0 -1 and cond empty #0 not capture empty #1
or and checkaleap #0 #1 -1 -1 or checkaleap #0 #1 1 -1 
cond empty #0 capture isupper space #1;

But during my tests I came across the fact that a joker imitating a barren_pawn does not have the ability to capture another joker (although it is fine when capturing a knight).


💡📝Aurelian Florea wrote on Wed, Jul 22, 2020 03:41 PM UTC:

It works well. I hope there are no more bugs. Thanks Fergus!


FrogsAndPrincess. Members-Only Based on Princess and the Frog Story.[All Comments] [Add Comment or Rating]

Since this comment is for a page that has not been published yet, you must be signed in to read it.

Apothecary Chess-Modern. Large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
💡📝Aurelian Florea wrote on Thu, Jul 23, 2020 08:40 AM UTC:

I think this article is ready for publishing the Apothecary Chess-Modern game.


Apothecary Chess-Classic. Large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
💡📝Aurelian Florea wrote on Thu, Jul 23, 2020 08:41 AM UTC:

I think this article is ready for publishing the Apothecary Chess-Classic game.


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
Aurelian Florea wrote on Tue, Aug 11, 2020 07:14 AM UTC:

I have accepted these days 2 challenges as white and I got black (as the default). One was shako and the other is opulent chess. Is this a problem of mine or of the website?


Expanded Chess. An attempt at a logical expansion of Chess to a 10x10 board.[All Comments] [Add Comment or Rating]
Aurelian Florea wrote on Sun, Aug 16, 2020 11:03 AM UTC:

There is an error in the article probably. When castling is described it says that the king moves 3 squares but this can't happen when castling short as the rook is in the way.


Aurelian Florea wrote on Sun, Aug 16, 2020 12:10 PM UTC:

Ok!


Apothecary chess preset error[Subject Thread] [Add Response]
Aurelian Florea wrote on Fri, Aug 21, 2020 07:05 AM UTC:

I have a problem with the apothecary presets. The ones that are in their final shape give an error at this code (second line-1061)

1060 for (from piece) fn friends 1061 for to fn join const alias #piece "-Range" #from 1062 if fn const alias #piece #from #to and not fn friend space #to and onboard #to 1063 move #from #to 1064 if not sub checked cond == #from #kingpos #to #kingpos 1065 setlegal #from #to 1066 endif 1067 endif 1068 restore 1069 next 1070 next

Do other presets have the same problem, as I remember mine working the last time I had checked?


Aurelian Florea wrote on Sat, Aug 22, 2020 06:43 AM UTC:

@Fergus, As I had said in the previous message on this topic I have an error in my apothecary presets.

https://www.chessvariants.com/invention/apothecary-chess-1 https://www.chessvariants.com/invention/apothecary-chess-2

The for loop in the links above tries to the None piece for checking the legality. I remember the code working. Is it possible that some game code changes hinders this preset? Or is it a regular bug?


Aurelian Florea wrote on Sat, Aug 22, 2020 04:48 PM UTC:

It looks to me that initializing the joker with none cannot be done. When I had selected rook things work out fine!


Aurelian Florea wrote on Sun, Aug 23, 2020 04:37 AM UTC:

I have defined the none range piece type definition with (()()): def None-Range (()()); That because the error I mentioned earlier was that the piece that was the joker imitating was not an array.

@Greg,

The preset you have shown me is an older one. The newest ones are: https://www.chessvariants.com/play/pbm/play.php?game%3DApothecary+Chess-Classic%26settings%3DApothecary_Chess-Classic https://www.chessvariants.com/play/pbm/play.php?game%3DApothecary+Chess-Modern%26settings%3DApothecary_Chess-Modern.

Hopefully I'll have the time today to update the older presets.


Aurelian Florea wrote on Wed, Aug 26, 2020 05:34 AM UTC in reply to Greg Strong from Tue Aug 25 08:53 PM:

I think I had solved it. If not I had corrected the error for another Apothecary chess modern preset. So please say that it does not work, if the case.


Aurelian Florea wrote on Fri, Aug 28, 2020 06:15 AM UTC:

@Greg, Are things ok now?


Aurelian Florea wrote on Fri, Aug 28, 2020 04:27 PM UTC in reply to Greg Strong from 02:37 PM:

Please try again!


Aurelian Florea wrote on Fri, Aug 28, 2020 04:40 PM UTC:

I don't now what you are doing. Please give me more details. Is it a game you play or an older log?


Aurelian Florea wrote on Sun, Aug 30, 2020 05:10 AM UTC:

I cannot figure out what is going on. To me the preset in question works fine. Any suggestions?


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.