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

Later Reverse Order EarlierEarliest
Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝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 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.


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


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. :)


🕸📝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.


🕸📝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.


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


🕸📝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.


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.


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.


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 Tue, Apr 23 04:40 PM UTC in reply to Fergus Duniho from 04:10 PM:

BIG THX!!!


🕸📝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 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 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.


Jean-Louis Cazaux wrote on Mon, Apr 22 06:31 PM UTC in reply to Lev Grigoriev from 05:35 PM:

I had the same problem and same message. Now, this has changed and when I try to enter a new game, here called "NewgamecazauxIdontbelieveitexists", I get this:

Error: You may not edit NewgamecazauxIdontbelieveitexists, because this (MS) is a preexisting submission that you (jean-louiscazaux) are not the author (duniho or ) of. If you chose the same name by coincidence, please go back and enter a different name.

I've made several tentatives. Apparently, I cannot enter any new game.


Lev Grigoriev wrote on Mon, Apr 22 05:35 PM UTC in reply to Fergus Duniho from 11:41 AM:
  • I click “Post Your New Game”;
  • I enter index information and click “Step 2”;
  • Then I face impossibility to create new item due to this bug.

🕸📝Fergus Duniho wrote on Mon, Apr 22 11:41 AM UTC in reply to Lev Grigoriev from 03:57 AM:

That’s not what I meant. I was looking for Reche's Super Faceoff Masquerade and could not find it. Please be clear about what you were doing and walk me through it step by step.


Lev Grigoriev wrote on Mon, Apr 22 03:57 AM UTC in reply to Fergus Duniho from Sun Apr 21 10:10 PM:

I have not located the page mentioned in your screenshot. What is its URL?

https://www.chessvariants.com/index/membersubmission2.php


🕸📝Fergus Duniho wrote on Sun, Apr 21 10:10 PM UTC in reply to Lev Grigoriev from 08:02 PM:

I have not located the page mentioned in your screenshot. What is its URL? If you were attempting to create a new page, please make that clear. I need every relevant detail when you make a bug report.


🕸📝Fergus Duniho wrote on Sun, Apr 21 09:56 PM UTC in reply to Lev Grigoriev from 07:58 PM:

Hey, it seems like both logos in dark & darker mode have the same silver moon image in them.

They do not. One is from the Motif Shogi set, and one is from the Symbolic Shogi set.

Can I suggest one replacement in darker logo? – change moon to khon:

No, the moon, as a symbol of the night, is representative of the color scheme. But I might replace it with another moon-themed piece, such as the Alfaerie Mage. Then I might replace another piece with a Kanji Shogi piece.


Lev Grigoriev wrote on Sun, Apr 21 08:02 PM UTC in reply to Fergus Duniho from 04:21 PM:

But not without errors… that’s its new answer on 2nd stage:


Lev Grigoriev wrote on Sun, Apr 21 07:58 PM UTC:

Hey, it seems like both logos in dark & darker mode have the same silver moon image in them. Can I suggest one replacement in darker logo? – change moon to khon:

which is the same piece but was drawn by me for another graphics btw;)


Bob Greenwade wrote on Sun, Apr 21 04:31 PM UTC in reply to Fergus Duniho from 04:00 PM:

All that's fair enough. It's your decision, after all; but thanks for at least respecting my input (which not everyone does tbh).

Still, at least the Fortress could be a different color, like gold or grey. (I personally would opt for lime, lavendar, or fuchsia, but in context that'd be a bit much.)

I decided I liked your Champion better than the Alfaerie Champion.

This in particular is a great compliment. :)


25 comments displayed

Later Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.