Comments/Ratings for a Single Item
You are welcome, Kevin. A little contribution of mine to your idea. I like it. Introducing into the classical chess gameplay the 6 primary, basic compound pieces. Unfortunately, there is a bug in the preset: if you click in the menu Related --> Rules for Sac Chess, it appears this message: "The Chess Variant Pages: 404 Error - Page not found." Hopefully Fergus or Ben can fix it. I encourage you to playtest Sac Chess with me as soon as posssible... I'm anxious to see how its game plot would evolve!
You entered the URL to the rules as a full URL without the http:// prefix. Without that prefix, it treats it as a path name to a page on the Chess Variant Pages, and that's what happened here. So, you should either add the prefix or remove the domain name. I recommend the latter.
It looks like your Post-Move code was copied from one of my presets without adapting it to this particular game.
elseif match moved Q R B N A M O .RF .BW .NGU:
elseif match moved q r b n a m o .rf .bw .ngu:
the problem remains.
Do you think the following definitions are right?
def O checkride #0 #1 1 0 or checkride #0 #1 1 1 or checkleap #0 #1 1 2;
def .RF checkride #0 #1 1 0 or checkleap #0 #1 1 1 or checkleap #0 #1 1 0;
def .BW checkride #0 #1 1 1 or checkleap #0 #1 1 1 or checkleap #0 #1 1 0;
def .NGU checkleap #0 #1 1 2 or checkleap #0 #1 1 1 or checkleap #0 #1 1 0;
def OL merge rays #0 1 0 rays #0 1 1 leaps #0 1 2;
def .RFL merge rays #0 1 0 leaps #0 1 1;
def .BWL merge rays #0 1 1 leaps #0 1 0;
def .NGUL merge leaps #0 1 2 leaps #0 1 0 leaps #0 1 1;
def o checkride #0 #1 1 0 or checkride #0 #1 1 1 or checkleap #0 #1 1 2;
def .rf checkride #0 #1 1 0 or checkleap #0 #1 1 1 or checkleap #0 #1 1 0;
def .bw checkride #0 #1 1 1 or checkleap #0 #1 1 1 or checkleap #0 #1 1 0;
def .ngu checkleap #0 #1 1 2 or checkleap #0 #1 1 1 or checkleap #0 #1 1 0;
def oL merge rays #0 1 0 rays #0 1 1 leaps #0 1 2;
def .rfL merge rays #0 1 0 leaps #0 1 1;
def .bwL merge rays #0 1 1 leaps #0 1 0;
def .nguL merge leaps #0 1 2 leaps #0 1 0 leaps #0 1 1;
Your code is gone, and I don't know what each of those pieces are supposed to be.
O is amazon
.RF is dragon horse = rook or ferz
.BW is dragon king = bishop or wazir
.NGU is knight or guard
Testing the preset by the "MOVE pieces by yourself" resource, looks like the code doesnot recognize such pieces as own for any determined army.
Sorry, .RF is dragon king and .BW is dragon horse (from shogi).
For the Dragon Horse and Dragon King, where you have a checkride, you don't also need a checkleap. But this is just redundancy, not anything that would break these functions. The *L functions don't have this redundancy and seem alright. When you say the code does not recognize these pieces, please be specific about what you're doing, what you expect to happen, and what happens. The pieces are not objects that are either fully recognized or fully not recognized. I could move these pieces, but I could not see legal moves displayed for them. Also, other pieces on the same side could capture them. I think both problems are due to the piece labels not being purely alphabetical. With piece labels that have non-alpha characters in them, you cannot rely on islower and isupper to tell the sides apart, and you cannot rely on onlylower and onlyupper to provide a list of all pieces belonging to one side. You will have to rewrite any code relying on the assumption that piece labels are purely alphabetical. Alternately, you can use a smaller set that does use purely alphabetical labels for pieces. I never use the Alfaerie: Many set and do not encourage its use.
> 1. It's not possible to promote pawns because appear a message noting: "This webpage is not available. DNS_PROBE_FINISHED_NXDOMAIN." That's an unexpected message. It is not programmed into Game Courier, and I don't know what could be responsible for it. > 2. When you click on the Amazon or on the Centaur (placed on a2/a9, j2/j9) its legal moves are not displayed, and when you click on the destination square it appears a JavaScript window saying: "This move is not marked as legal. Do you still want to try it?", followed by the "Cancell - Accept" alternative links. After clicking "Accept", the move is completed normally. The *L functions for these two are trying to merge three arrays with only one instance of merge. Merge takes two arguments, not three. To merge three arrays, you should first merge two, then merge the merged array with a third array. You would have to use merge twice to do this.
>> That's an unexpected message. It is not programmed into Game Courier, >> and I don't know what could be responsible for it. > I think it is related with the change of domain from .org to .com because the same happens with the chess preset; so unless you fix this, it won't be possible to promote pawns in games that have enforced theirs rules. Yes, Pawn promotion uses the askpromote command, which includes a form, and the URL for the form's action was given in full at chessvariants.org. I shortened it to just play.php. Currently, chessvariants.org is out of commission until I can figure out how to successfully redirect it to chessvariants.com.
Hi Carlos What happened in your first game of Sac Chess with Fergus, at least in terms of the result? How many moves did the game last? I haven't yet learned how to access a database of games of a particular variant that have been played on Game Courier, if there is such a database (there are logs of many games that started long ago, at least). I saw that that game had gone past move 30 (with yourself as White), with a wide open position (in terms of pawn structure), where you were ahead by one pawn. After that, I checked later on and you two had started another game of Sac Chess, and I couldn't find the first game's log.
Hi, Kevin. To get the game logs, click on the site logo in the upper lefthand corner of the page. That takes you to the home page. Scroll down until you see the "What's New" section. The top line under What's New is the last game move made. Click on that kink and it will bring you to the game logs. Type "Sac Chess" in the game box, set the Age box to however far you want to go back and look - say 4 weeks. Then set the status to "Any Games", and click the "submit" button. This will bring up all the games of Sac Chess that were played in the last 4 weeks. You will get the current game between Carlos and Fergus and you will get their finished game. Note the game box is case sensitive. If you type "sac chess" or Sac chess", you will not see any games. Putting your user ID in will bring up just the games you've played in the last 4 weeks. You can use wild cards: putting "Sac *" or Sac*" will also get you those games, as will "Sa*". Typing just "S*" will bring up Seirawan, Shogi... also. *******EDIT: I see Carlos already gave you the short course.
Thanks guys. I got to see the game by following Carlos' instructions. I had tried some searching of the logs before, but not the way Joe describes.
19 comments displayed
Permalink to the exact comments currently displayed.