The Chess Variant Pages




[ 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
This item is a miscellaneous item
It belongs to categories: Not categorized
It was last modified on: 2015-12-11
 Author: Fergus  Duniho. Home page of The Chess Variant Pages. Missing description[All Comments] [Add Comment or Rating]
Fergus Duniho wrote on 2021-07-19 UTC

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 Duniho wrote on 2021-07-18 UTC

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.


Jean-Louis Cazaux wrote on 2021-07-18 UTC

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.


Fergus Duniho wrote on 2021-07-17 UTC

From what you're saying, it is going wrong for you in two ways.

  1. 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.

  2. 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?


Jean-Louis Cazaux wrote on 2021-07-17 UTC

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.


Fergus Duniho wrote on 2021-07-16 UTC

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 Duniho wrote on 2021-07-15 UTC

I made mass edits to most pages on the site today using sed. I added a line to all .html pages up to five or six levels deep and to all the .php files in /index/ to include the /g/headcode.php script after the HEAD tag. This is for being able to insert common code into the head section of each page. While I expect the .html files are all okay, the scripts were not all uniform in how they handled the head section. Some would include it as HTML, and some would write it with PHP code. For example, msdisplay.php was broken until I fixed it earlier this evening. So, if you come across any other script that is not working right, let me know so that I can fix it.


Fergus Duniho wrote on 2021-06-17 UTC

I made a new logo for the home page, and I updated the smaller logo to use some of the same fonts. The word "CHESS" is in Noto Serif, the word "vArIanT" (or "VArIaNT") in Spin Cycle 3D OT, and the other words in Noto Sans. In the smaller logo, I left those words in the original font, which I think is one of the Segoe UI fonts. The Elephant and Unicorn are Musketeer Chess pieces I took a photo of together to keep them at the same scale. The Elephant is a historical piece that goes back to Chaturanga and is found in various Asian regional variants, while the Unicorn is a fairy chess piece that looks an awful lot like a certain Chess piece. Since the black Elephant appeared too dark, I tried a color gradient on the image of the two pieces and liked the result. The varying colors looked psychedelic and seemed appropriate for a site about variants. Above the word "CHESS" are the pieces of Chess. Below the word "vArIanT" are a selection of Chess variant pieces in different styles.


Fergus Duniho wrote on 2021-05-25 UTC

I wonder if there is an option in Game Courier somewhere to have pieces rotate 180 degrees when the board is flipped?

There is no option for rotating piece images.

This is not the $flip variable in the set file, as that swaps the values for lowercase and uppercase keys when the board is flipped

That is not quite what it does. What is actually does is use the piece images in the $flipped array instead of those in the $pieces array. In case any piece labels have not been assigned to piece images in the $flipped array, it completes the $flipped array with this code:

if ($flip == true) {
    foreach ($pieces as $key => $val) {
        if (empty($flipped[$key]))
            $flipped[$key] = $pieces[flipcase($key)];
    }
}

This is useful for Shogi variants, in which the pieces on one side are usually 180° rotated images of the pieces on the other side. Note that some Shogi sets assign specific images to k and K for $flipped, because each side uses a different Kanji character for the piece, and they use the default values for the rest. Here's an example of such code:

$flipped = array (
    "K" => "WKing.gif", "k" => "flip/BKing.gif"
);

JT K wrote on 2021-05-25 UTC

I don't know enough about Game Courier to help you, but I experienced the same concern when putting one of my variant ideas onto tabletopia.com (8-Piece Chess) I eventually just decided to make piece designs that were symmetrical, because that site treats it all like a "camera" view ;)


Adam DeWitt wrote on 2021-05-19 UTC

I wonder if there is an option in Game Courier somewhere to have pieces rotate 180 degrees when the board is flipped? This is not the $flip variable in the set file, as that swaps the values for lowercase and uppercase keys when the board is flipped Such an option could be quite useful for pieces that use mnemonic symbols to show piece moves, since piece moves are flipped when the board. Maybe the board does this automatically and I am just missing it (I know this is the case when I use my phone). However, as far as I know, there is no option in Game Courier that flips that makes pieces images rotate as the board rotates. If there is, it isn't documented in the developer's guide. Either way, I think the idea is at least worth considering.


H. G. Muller wrote on 2021-05-19 UTC

I noticed that there also are links to various methods of computer play from the Play menu in the main menu bar. Shouldn't we also link to the Jocly overview page and the index page for the interactive diagrams there?


Greg Strong wrote on 2021-05-18 UTC

Your profile says your email is verified.

I sent him an email to confirm identity and then marked it as verified manually.


Fergus Duniho wrote on 2021-05-18 UTC

I am attempting to verify my email for my account, but it seems that whenever I click on the link in the email, it just sends me to a change email form that doesn't verify the email. How can I fix this?

Your profile says your email is verified.


E. Schierts wrote on 2021-05-17 UTC

I am attempting to verify my email for my account, but it seems that whenever I click on the link in the email, it just sends me to a change email form that doesn't verify the email. How can I fix this?


digital sedition wrote on 2021-05-14 UTC

The other co-author of "A World of Chess", Rick, gave me Colonel Hải Nguyễn Quí's email address upon my inquiry. I've been having an ongoing dialog with the Colonel and another associate of his over the past week and a half. They shared a lot of relevant info with me into the current state of the game and their future plans.

I posted pictures of their new game set on BGG (different username) with their permission as well as an updated English rulebook.


Jean-Louis Cazaux wrote on 2021-05-14 UTC

This game was once considered to be included in the book "A World of Chess". When you say that it has been adopted as the official chess of Vietnam, what source or element do you have to support this statement? I am interested to know.


digital sedition wrote on 2021-05-14 UTCExcellent ★★★★★

Greetings, Thanks for doing this website. I don't see Commander Chess or Cờ Tư Lệnh in Vietnamese. This is not to be confused with the Vietnamese Chess listed here for zillions of games. Commander Chess was designed By Colonel Hải Nguyễn Quí and released in 2010. I think it's been adopted as the official Chess of Vietnam.

It's a modern warfare, sort of XianQi variant. Uses tanks, aircraft, a navy. Here's a link to the BGG for it:

https://boardgamegeek.com/boardgame/191203/commander-chess

The Colonel has been trying to share his game with the world and I know for a fact they are about to release a new Commander Chess game set and online/mobile platforms to play online as well.


Dead Account wrote on 2021-05-14 UTC

I am looking to delete my account and potentially create a new account as my current account is cluttered with a large amount of garbage from a couple years ago. Additionally, I created my account without understanding the user ID system, so my user ID is just random nonsense. However, I seem to have a glitched page linked to my account that prevents me from deleting it. Is there any way to resolve this, or should I just abandon the account altogether?


H. G. Muller wrote on 2021-05-08 UTC

Is it possible to have some custom text float to the right of the diagram?

Well, you have to make the diagram float left. The diagram design wizard already proposes that, by putting a style="float:left; margin: 0 10px 10px 0" with the <div> element used to package the diagram parameters. Any following text will then wrap nicely around it.

BTW, it is possible to have the diagram script generate a the list of pieces (plus squares coordinates) that you like to go there as a 'satellite', by putting a <ul id="xxxList"></ul> where you want the list to appear. The advantage is that the list is clickable, and then brings up the move diagram of the clicked piece. (As in the CwdA diagram, after you select an army.) But I guess that for replacing images in existing articles the lists will already exist.

Also, can we do 3 square colors for games with nightriders

The diagram can already do that (e.g. see the Caissa Britannia diagram I made), but currently it can be switched on only through embedded extra JavaScript (<script>oddShade = "#E04040";</script>). It will be totally trivial to make a 'regular' diagram parameter oddShade for it, though.


Greg Strong wrote on 2021-05-08 UTC

I fully agree that the pages should keep their current character. But in many cases it should be possible to make an Interactive Diagram that looks exactly the same as the static diagrams they have now.

Indeed.  And I see you've added additional features to make this possible.  Thank you!  I think having the "primary diagram" be one of your interactive diagrams is a worthy goal, for multiple reasons.

Of course in cases where the original setup 'image' consists of ascii art, it becomes a bit questionable whether it deserves to be preserved.

Agreed.  I think the ASCII diagrams need to go.  And, for the record, for a long, long time I felt that all pages throughout the Internet should be fully-available to text browsers, and that formatting decisions should come from the client side, etc.  As such, I opposed the direction web development was taking for a long time ... kind of like an old-school Catholic, bitter that mass was no longer recited in Latin.  But slowly I decided this paradigm shift was inevitable, whatever my personal inclinations were.  And now, I think, overall, it is probably for the better.  (Although there are still unfortunate trade-offs, such as handicapped accessibility and support for personal tastes, such as dark-mode.)  Ideally, maybe it's possible to make the ASCII description the "alt text" to the image, but that would be a TON of work that is almost certainly not the best use of my time.  As this website grows, the number of things that should be done grows faster than my time to do them, and I'm not even sure that ASCII diagrams as alt-text serves any real purpose.  (Can blind people get any value out of an ascii diagram?)

Regarding substituting interactive diagrams for main diagrams, I have a couple of questions... Is it possible to have some custom text float to the right of the diagram?  I'd still like to have the location of pieces and initial FEN displayed to the right of the diagram as in this page for example.  Also, can we do 3 square colors for games with nightriders, such as shown here?  (Only one light-square color, but the dark colors alternate per row.)  I'm not saying that either of these things is essential, but, in my mind, if we could do both of these things, replacing the primary images with interactive diagrams would be a "no brainer" (as we say in English - sorry if it doesn't translate well.  It means of course we should do it.)


H. G. Muller wrote on 2021-05-05 UTC

I don't typically make it the primary diagram because different pages have different presentation styles (colors, etc) and I don't want them to all look the same.

I fully agree that the pages should keep their current character. But in many cases it should be possible to make an Interactive Diagram that looks exactly the same as the static diagrams they have now. These are often also based on piece themes like Alfaerie, Utrecht, etc. These can be used in the diagram too, and the square shades can be arbitrarily configured. This is what I usually do when I post diagrams in the comments. E.g. the three diagrams I posted below for Courier, Shatranj, and Makruk all use Utrecht, and the same piece representations as the original images in those articles, (even though I consider the use of a Queen symbol for the General in Courier rather dubious), and the latter two use an uncheckered, white board, while Courier uses the 'CVP orange' for the dark squares.

Of course in cases where the original setup 'image' consists of ascii art, it becomes a bit questionable whether it deserves to be preserved.

A more important concern is that we want the pages to be presentable (even if not fully functional) for people that have switched JavaScript off. To achieve that for my own articles (e.g. the recently submited Pink Chess), I use the following method: After I created the Interactive Diagram, I take screenshot of it, and upload that as 'membergraphics' for the article. I then include that image in the article within <noscript> tags, so that it would only be shown when JavaScript is off. To prevent the user gets to see the unprocessed definition of the Interactive Diagram, I give the <div> tag that contains this definition a style="display:none". The Diagram script will change this style so the section gets visible for each definition it processes.


Greg Strong wrote on 2021-05-05 UTC

Some other members have included diagrams in their own articles, usually as a secondary diagram. Greg has used his power as an editor to add diagrams to some of the 'founding articles'.

Yes, I've been slowly incorporating them into pages in the notes section, like I did with this page.  I don't typically make it the primary diagram because different pages have different presentation styles (colors, etc) and I don't want them to all look the same.  Updating more pages (both with interactive diagrams and in general) is something I will hopefully get back to soon.  It's pretty tedious work, but we have a lot of pages for good games that could use an update.

Having the diagram in a comment does have an upside, though: when accessed from the index page I made, I always linked to the page you get when using the 'View' link to view the comment in isolation. Which means they immediately get the diagram in view. A link to the main article might have the diagram hidden somewhere at the bottom, after many other diagrams for showing setup and piece moves.

This is a good point.  I could place an anchor tag on the page right before the I.D. so you could link directly to that part of the page.  That's probably worth doing.


H. G. Muller wrote on 2021-05-04 UTC

First, I generally think that these interactive diagrams should be promoted from comments into the articles themselves, unless they are somewhat experimental and would require frequent editing by someone other than the author or an editor.

Well, I only have access to articles I authored, and there the diagrams are indeed in the articles, as the main diagram for showing the setup. Some other members have included diagrams in their own articles, usually as a secondary diagram. Greg has used his power as an editor to add diagrams to some of the 'founding articles'.

Since I have no access to other people's articles, I always posted diagrams in the comments section for variants that I thought deserved one. I usually tried to stick to the 'theme' of the main diagram in those articles (coloring of the board, piece images). Any editor can copy the diagrams to the main article, as far as I am concerned. (In some cases I accompanied the diagram in the comment with an explanation on the features of the diagram script that I had to add to make it possible to do that variant; I would appreciate it if these comments could stay, or perhaps be moved to the comments on the Interactive diagram itself.)

Having the diagram in a comment does have an upside, though: when accessed from the index page I made, I always linked to the page you get when using the 'View' link to view the comment in isolation. Which means they immediately get the diagram in view. A link to the main article might have the diagram hidden somewhere at the bottom, after many other diagrams for showing setup and piece moves.

I don't think any of the diagrams needs any maintenance. They all link to the same JavaScript file, and most maintenance is done there.

Even if it would be a special index page, someone would have to maintain it, I suppose. I don't see how this could be automated. Any author could at any time decide to add a diagram to an article of his, and how would we know? If the index page formally is an article of mine, at least I can update it myself for diagrams I create. Editors can update it anyway.

BTW, I did some more thinking on the 'computer resources'  section of the home pages. Wouldn't it be better to split the graphics stuff from that, to put it in a separate section?


Ben Reiniger wrote on 2021-05-04 UTC

Thanks for all this!

First, I generally think that these interactive diagrams should be promoted from comments into the articles themselves, unless they are somewhat experimental and would require frequent editing by someone other than the author or an editor.

The list of these can still exist and linked to as "play"ables. But it may work to turn it into an index, rather than you maintaining it. That may work out best with some other structural change though (adding a field to the member submissions e.g.), so I won't push for this in the very near-term.

I'll try to add links to the other resources in appropriate places; thanks for all the thought about where they best fit.


25 comments displayed

Later Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.