Ratings & Comments
I do not understand why after I move the rook I can castle with the cannon on the field that was supposed to be used only for the rook.
So far, you have not made it clear that the King moves to a different space when castling with each piece. The rules you have underneath the game do not even mention castling. The castle subroutine was not written with such a rule in mind. You might be able to make it work by adjusting the values of bcastle and wcastle after a Rook moves.
I think I haven't explained that properly but only one castle is aloud.
Castling is allowed only once, which I understand, but what you say next doesn't fit with you trying to say that. Are you trying to say that the King has only once space it can go to when castling with a certain piece?
Regarding your preset, I don't understand why you are using four colors for checkering the board. Also, the dark blue squares do not contrast well with the color used for highlighting legal moves, which makes it hard to see legal moves highlighted on those squares. Additionally, your rules could use images of the pieces, so that someone looking at a piece on the board can more easily tell how it moves. Remember to use the shortcodes for displaying pieces, so that the piece images below match those on the board no matter what piece set is used.
@Aurelian: Just out of curiosity: what happens when you use the Play-Test Applet to convert the Interactive Diagram you made to GAME code? Does the castling work as intended then?
No ideea I'll Try it!
Since the old ebay ads were no longer showing up, I have started replacing them with new ones. I liked that the old ones could be script-generated with different search terms plugged in. For the new ones, I have to manually create each ad on ebay. So, except for the United States, which is my own country and has the most visitors to this site, I am creating fewer types of ebay ads. I have mainly been working on the large ones that go on the left side on a desktop. I generally made four ads per country, the search terms being Chess, Chess Variant, and that country's own language's words for Chess and Chess Books. The Chess ads may also show items matching the recent activity of CVP visitors on ebay. Countries with more than one language got more. I made ads for Australia (AU), Austria (AT), Belgium (BE), Canada (CA), France (FR), Germany (DE), Ireland (IE), Italy (IT), the Netherlands (NL), Spain (ES), Switzerland (CH), the United Kingdom (UK), and the United State (US). That's the whole set of countries I can make ebay ads for. Just in case I left out a semicolon or something, let me know if you are having trouble viewing pages from your country.
Fergus, in my case it's annoying.
For every page I get a long vertical strip on e-bay announcements, 36 on this page, which oblige me to scroll down a lot before I get the text I want to see.
I use Safari on a Macbook.
From what you're saying, it is going wrong for you in two ways.
-
It is showing the full 36 items. But it should only show a box that fits on the screen, and you should be able to see all 36 items only by scrolling this box.
-
It is showing the ad above the content instead of to its left.
I went to test the ad for France by setting my IP's adlocale to "fr-FR", and when I went to preview this comment, an ad showed up at the top of the page. What I did yesterday was accidentally put the ad code for the left side ads in the script for banner ads that go up top. So, that accounts for #2. I have fixed that by copying the code to the correct file and deleting it from the wrong one. Were you also describing #1, or was it only #2?
It was #2, ads above all text, in a vertical column, on top of the page and on right side. But it doesn't show anymore this morning, I tried few pages, no more problem. You probably fixed it. I see no e-bay adds anymore at all. Thank you.
I see no e-bay adds anymore at all.
Since the Macbook is a laptop, it may not provide as wide a screen as my desktop monitor does. On my own 14.1 inch laptop, there are no ads on the left side, because the CSS is set to not display them unless the browser window is wide enough.
To avoid making multiple sets of ebay ads, I changed the ones I had made to custom sized, then reused the same ads at different sizes. In the left sidebar, they may appear as a full-sized vertical column or up to two may appear half-sized. In the footer, ebay ads may appear as a horizontal strip. I have not put any at the top of the page or on the right sidebar, because ebay ads must be taller than the horizontal banner ads at the top, and they must be wider than the space allocated for ads on the right. I have also added code to prevent the same ebay ad from appearing multiple times on the same page.
@Fergus,
I still need to understand how to delete a value from an array in order to remove the necessary value from wcastle or bcastle.
It is of course also possible to enter the Wizard via the Seirawan method and this may well appeal to those whom like to play an undefended Bishop to K/QKt5.
Since a piece must vacate a square first for the Wizard to enter this way, such a Classical Bishop move would still stand strong without imminent capture from a waiting Wizard.
I still need to understand how to delete a value from an array in order to remove the necessary value from wcastle or bcastle.
You can unset an array element if you know its key. For example:
set ra array a b c d e f g h i j k l m n o p q r;
unset ra.4; // removes e from array
But what if you just know the element you want to delete and not its key? I have now added a diff operator to return an array difference. When an argument isn't already an array, it gets turned into a single element array. So, this code removes j1 from wcastle.
set wcastle d1 c1 j1 k1;
set wcastle diff #wcastle j1;
The idea of introducing two waffles (phoenixes) on a Capablanca board is a very interesting one. But the main drawback proved to the author to be finding a position where all pawns are defended in the initial position. This leads to a sole position where the waffle and knight share the best first move development field. To this gets in a way of the usual castling. To counter this a new way of castling is introduced. I don't like that because it requires to little effort creating a new problem of it's own. I'd approach this by offering the knight the forward fil moves when unmoved. Probably with just move power. This will help the knight further to the center without hindering the waffle's development. It can also go the other way around offering the field towards the center to the waffle by allowing it the two forward wide zebra move. This has the advantage of having the knight on it's orthodox chess spot after it's initial move, so orthodox chess openings can be used. This would help the game become more popular among regular chess players. Both solutions seem to be better than an arbitrary castling rule.
Adding the modern elephant on a Capablanca board is a very nice idea. I'd suggest adding an fil move to the knight's first move, preferably a just move power, so that it can occupy it's regular place in the orthodox chess repertoire. But I don't see this as a problem more as a small enhancement, maybe, also motivated by the fact that the knight in this game starts so far from the center. Overall an excellent game!
Adding the frog on a Capablanca board is a very nice idea. I'd suggest adding an fil move to the knight's first move, preferably a just move power, so that it can occupy it's regular place in the orthodox chess repertoire. But I don't see this as a problem more as a small enhancement, maybe, also motivated by the fact that the knight in this game starts so far from the center. Overall an excellent game!
With your piece of code I have tested my idea and made it work as intended. Thanks once again, Fergus!
Is there any way I can attach this simulator to this page?
8ㅅ8...
I added its code to the end of your Setup section. You can decide how you want to incorporate it into your page.
Thank you !!
But can't some rules be implemented in an interactive diagram?
I have no idea what you are asking. What rules?
A very well thought and pleasing out blend of a Capablanca's Chess and Shogi. I am curious about the rule against having identical promoted pieces other than promoted Pawns. I consider it a small wart on a otherwise perfect design.
25 comments displayed
Permalink to the exact comments currently displayed.
@Fergus Then I do not understand why after I move the rook I can castle with the cannon on the field that was supposed to be used only for the rook. I think I haven't explained that properly but only one castle is aloud. This is not free castling. So this is why I asked about wcastle and bcastle.