Check out Atomic Chess, our featured variant for November, 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/Ratings for a Single Item

EarliestEarlier Reverse Order Later
Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Tue, Apr 23 01:17 AM UTC in reply to Lev Grigoriev from Mon Apr 22 05:35 PM:

There were a few lines of code that were held over from an earlier version of the code, and these lines used an undefined variable. The result was $itemid being set to just "MS". Removing these lines of code fixed the problem.


Lev Grigoriev wrote on Tue, Apr 23 09:04 AM UTC in reply to Fergus Duniho from 01:17 AM:

Please remove these unneeded lines from Edit Metadata also. I’ve written new page, thank you, but when I tried to revert it to Members-only, error repeated. It shows that I’m veteran contributor with nine or more submissions, so I cannot publish more if I have nine submissions to review (even if it’s not).


🕸📝Fergus Duniho wrote on Tue, Apr 23 04:10 PM UTC in reply to Lev Grigoriev from 09:04 AM:

Please remove these unneeded lines from Edit Metadata also. I’ve written new page, thank you, but when I tried to revert it to Members-only, error repeated. It shows that I’m veteran contributor with nine or more submissions, so I cannot publish more if I have nine submissions to review (even if it’s not).

While it was giving you the same error message, it wasn't due to extra code again. This time, another variable was undefined, which caused its counts of the database to return the wrong values, and the solution was to add a new line assigning its value.


Lev Grigoriev wrote on Tue, Apr 23 04:40 PM UTC in reply to Fergus Duniho from 04:10 PM:

BIG THX!!!


Gerd Degens wrote on Thu, Apr 25 05:19 PM UTC in reply to Fergus Duniho from Mon Apr 22 11:41 AM:

I stumbled across 'GC Preset for Reche's Super Faceoff Masquerade' again, and I'm wondering again how to recognize in the course of the game how an a-Rook takes as Knight, h-Rook as Bishop; b-Knight takes as Bishop, g-Knight as Rook; c-Bishop as Rook, f-Bishop as Knight (according to the description). The two rooks, bishops and knights do not differ and can no longer be distinguished in the course of the game. How is a strategic game supposed to come about then?


Lev Grigoriev wrote on Thu, Apr 25 06:56 PM UTC in reply to Gerd Degens from 05:19 PM:

The two rooks, bishops and knights do not differ and can no longer be distinguished in the course of the game. How is a strategic game supposed to come about then?

You can differ them:

  • in offline play by sticky markers;
  • in online by notation used.

BTW I have recently done the rules page.


Daniel Zacharias wrote on Mon, Apr 29 09:52 PM UTC:

When I go to any person information page and try to view unpublished submissions, it just shows my own submissions.


🕸📝Fergus Duniho wrote on Tue, Apr 30 01:58 AM UTC in reply to Daniel Zacharias from Mon Apr 29 09:52 PM:

When I go to any person information page and try to view unpublished submissions, it just shows my own submissions.

Okay, I corrected that.


🕸📝Fergus Duniho wrote on Wed, May 1 12:44 AM UTC:

On the page /index-test.html, I have augmented the CSS implementation of the color schemes with a JavaScript implementation. The CSS implementation works without JavaScript, but it requires the use of :has(), which earlier browsers do not support. The JavaScript implementation is working on both my Kindle browser and on both Chrome and Edge on my iPad 2, though the latter two require you to save your change before it takes effect. I don't think there are browsers more primitive than these that still need to be supported. By providing both a CSS and a JavaScript way to change the color scheme, this expands the number of browsers it will work well on. I plan to add the code for this to the site tomorrow. In the meantime, try it out and let me know how it works for you, particularly if you have some older device I am not using.


Daniel Zacharias wrote on Wed, May 1 01:01 AM UTC:

many of these shatranj images have transparent backgrounds so they are hard to see with dark themes

Also, the king description text for Great Shatranj is always black regardless of the theme.


🕸📝Fergus Duniho wrote on Wed, May 1 09:17 PM UTC:

The color scheme code I was working on yesterday and into today is now on the site. As I mentioned before, it will now change the theme with JavaScript as long as JavaScript is enabled. This is done mainly as a backup for older browsers that do not support :has() in CSS. It uses both JavaScript and CSS to change the color scheme so that if one method fails, the other one might still work. Generally, the CSS method will fail on older browsers, and the JavaScript method will fail if someone has JavaScript disabled.

One new feature is the Print color scheme. This is a more minimalist version of the Light color scheme. I may make a logo for it with some of Tenniel's black and white illustrations from Through the Looking-Glass, though I'm open to other ideas. For now, it uses the same logos as the Light color scheme.

Internally, I have moved the color scheme CSS to colors.css, where it is better organized and more maintainable than before. First, it creates individual custom properties for each color in each color scheme. The light ones begin with --light-, the dark ones with --dark-, etc. Since it has to define each color scheme multiple times for different selectors, it defines them in terms of the individual custom properties already created. So if I decide to change a color, there is now only one place it has to be changed.

Also, this provides page authors with the ability to customize color schemes for a particular page. By adding a style section in which you add custom properties to :root, you can rewrite individual values for particular color schemes.


🕸📝Fergus Duniho wrote on Thu, May 2 07:42 PM UTC in reply to Fergus Duniho from Wed May 1 09:17 PM:

I may make a logo for it with some of Tenniel's black and white illustrations from Through the Looking-Glass, though I'm open to other ideas.

I have now done that except that I cropped and divided one illustration instead of using two separate illustrations. Also, most of the small piece images I used are based on characters Alice encounters in Lewis Carroll's books.


Bob Greenwade wrote on Thu, May 2 09:50 PM UTC in reply to Fergus Duniho from 07:42 PM:

That looks like my Viking up there. :)


HaruN Y wrote on Fri, May 3 04:43 AM UTC:Excellent ★★★★★

When I go to any person information page and try to view game reviews, it says "$forpersonid is an unexpected variable and was not given a value".


🕸📝Fergus Duniho wrote on Fri, May 3 10:28 PM UTC in reply to HaruN Y from 04:43 AM:

I have changed forpersonid to author in the link, and it now works.


🕸📝Fergus Duniho wrote on Fri, May 3 10:33 PM UTC:

The print color scheme now has its own small logo too. Since the big logo included 19th century black and white artwork of Chess pieces, I chose a more retro style that displays fairy pieces by changing the orientation of Chess piece images. According to a section of Anthony Dickins' A Guide to Fairy Chess, the inverted queen is the grasshopper, and the reclining bishop is the unicorn.


🕸📝Fergus Duniho wrote on Sat, May 11 06:14 PM UTC:

I noticed today in the comments section that Smess was being given the description for Take the Brain. So, I made some corrections to make sure that the correct description was given for the name it was paired up with in IndexEntry. In the comments section, the primary name and description should now be used. In queries of the database on the names of games, each description will now show up for the name it goes with. On the What's New page, the name should be the primary name, and the description should be the Whatsnew text if it is available. Otherwise, it will fall back to using the primary description. All of this now works correctly for Smess, All the King's Men, and Take the Brain, though I have not tested other games with multiple names.


HaruN Y wrote on Sun, May 19 11:30 PM UTC in reply to Fergus Duniho from Fri May 3 10:28 PM:

Game Reviews are the same as Comments.


🕸📝Fergus Duniho wrote on Mon, May 20 03:24 PM UTC in reply to HaruN Y from Sun May 19 11:30 PM:

Game Reviews are the same as Comments.

The query string had the right parameters, but it needed to set gamesonly and ratingsonly to true instead of just including them. I corrected that, and it now works properly.


Aurelian Florea wrote on Tue, Jun 11 11:43 AM UTC:

How can I see what pictures are available in cgi-bin? It seems I do not have access. I need the names for use in the interactive diagrams.


H. G. Muller wrote on Tue, Jun 11 12:34 PM UTC in reply to Aurelian Florea from 11:43 AM:

There are no pictures in cgi-bin. By convention it is a directory for server-side scripts/programs, which will run to create dynamic content for sending to the client. The file fen2.php there dynamically creates PNG images, by rendering SVG images with sizes and colors that can be specified in the URL as a so-called query string.

The SVG images it seeks in the directory /graphics.dir/svg/xxx, where xxx is the value specified for theme in the query string t=xxx. Any file yyy.svg in that directory can be rendered, by specifying p=yyy in the query string.

Unfortunately the server does not provide direct access to these directories through the HTTP web interface, because there is a file index.html in them which will be retreived with priority. This is supposed to contain an overview of what is available, but it might not be up to date. (It is a static file, so it would have to be edited to include new images added to the set.) The trick to get around this is to use a script 'list.php' that is also in those directories, and will generate the output that the server would have given you when the index.html file had not been present. (Which is a list of filenames; no preview of what they contain. The Play-Test Applet uses these scripts to build its piece table.) E.g. /graphics.dir/svg/alfaerie/list.php.


Aurelian Florea wrote on Tue, Jun 11 12:49 PM UTC in reply to H. G. Muller from 12:34 PM:

Thank you for your detailed and promt answer!


A. M. DeWitt wrote on Sat, Aug 10 03:49 PM UTC:

I'm taking a break from inventing Chess variants to work on some other things and myself. I'm currently finishing up my Chu Shogi Applet with Assorted Tsumeshogis by adding in the remaining workable tsumeshogis from H. G. Muller's MSM Errata (only one left is D63). It's kind of a prelude to a stand-alone program I plan on making that allows you to play Chu Shogi (based on historical rules of course).

I'll still be around from time to time, mostly to review submissions.


Lev Grigoriev wrote on Wed, Aug 21 07:50 PM UTC:

Rational suggestion: what if external links will use the same font as the main text (Literata) but still be underlined twice as now? This increases text’s readability in some cases.


A. M. DeWitt wrote on Fri, Oct 18 09:17 PM UTC:

I have decided to end my break from inventing Chess Variants and try to be more involved as an Editor. I probably won't be as prolific though.

I have decided not to make the stand-alone Chu Shogi App I said I would make in the previous comment, since the Chu Shogi Appliet I made already fills the role I intended it to fill quite nicely. However, I have released the SVGs I made for such an app in a graphics.dir page page.

To the other Editors: Speaking of which, the graphics.dir index page could be improved, but more on that later.


25 comments displayed

EarliestEarlier Reverse Order Later

Permalink to the exact comments currently displayed.