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

LatestLater Reverse Order EarlierEarliest
Sac Chess. Play classical chess along with classical compound pieces: amazons, chancellors, archbishops...[All Comments] [Add Comment or Rating]
📝Carlos Cetina wrote on Thu, Dec 24, 2015 02:19 PM UTC:
Hi Kevin. <p> Please select "Only Finished Games" in the "Status" menu of the <a href="/play/pbmlogs/index.php">Game Courier Logs Game</a> page; then click "Submit". With the "Age" menu you can choose how far back in time you want to search in the database.

💡Kevin Pacey wrote on Thu, Dec 24, 2015 02:00 PM UTC:
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.

🕸Fergus Duniho wrote on Wed, Dec 16, 2015 05:29 PM UTC:
>> 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.

📝Carlos Cetina wrote on Wed, Dec 16, 2015 04:15 PM UTC:
>That's an unexpected message. It is not programmed into Game Courier,<br> >and I don't know what could be responsible for it. <p> 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. <p> >The *L functions for these two are trying to merge three arrays with<br> >only one instance of merge. Merge takes two arguments, not three. To<br> >merge three arrays, you should first merge two, then merge the merged<br> >array with a third array. You would have to use merge twice to do<br> >this. <p> Ready! I made it. Problem solved. Thanks.

🕸Fergus Duniho wrote on Wed, Dec 16, 2015 02:56 PM UTC:
> 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.

📝Carlos Cetina wrote on Wed, Dec 16, 2015 02:10 PM UTC:
OK, following your advising I changed the Piece Set. The starting setup looks thus: <p> <img src="../membergraphics/MPsacchess/sac_chess.png"> <p> The preset is now working fine except by 2 things: <p> 1. It's not possible to promote pawns because appear a message noting: "This webpage is not available. DNS_PROBE_FINISHED_NXDOMAIN." <p> 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. <p> Remember the link for the encoded preset is <a href="/play/pbm/play.php?game=Sac+Chess&settings=default">this</a>.

🕸Fergus Duniho wrote on Tue, Dec 15, 2015 06:46 PM UTC:
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.

📝Carlos Cetina wrote on Tue, Dec 15, 2015 05:41 PM UTC:
Sorry, .RF is dragon king and .BW is dragon horse (from shogi).

📝Carlos Cetina wrote on Tue, Dec 15, 2015 05:28 PM UTC:
The code is not gone, the link to the "enforced" preset is this.

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.


🕸Fergus Duniho wrote on Tue, Dec 15, 2015 05:11 PM UTC:
Your code is gone, and I don't know what each of those pieces are supposed to be.

10 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.