Check out Grant Acedrex, our featured variant for April, 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 by Fergus Duniho

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


Hannibal Chess with Manticore and Falcon. Expansion for hannibal chess. (10x9, Cells: 90) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Apr 30 03:43 PM UTC in reply to Aurelian Florea from 06:11 AM:

I could not figure out what closing tag you were mentioning.

I already fixed that bug, and it was in my code, not yours.

This ID still does not work properly!

I tested it in Safari, Edge, and Firefox this morning, and it was working in all of them, though I did have to reload the page in Firefox before the board would display.


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


Waffle Chess with Gryphon and Falcon. Expansion for waffle chess. (10x9, Cells: 90) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Apr 29 06:45 PM UTC in reply to Aurelian Florea from 03:59 PM:

There was a typo in implementing a new property I had added. I added the displayPieces property, which when set above zero will display the piece table when the page loads. This much worked as it should, but when it was not set, it omitted the closing > in the tag, which caused what followed it to not be displayed.


Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Sat, Apr 27 07:50 PM UTC in reply to Jean-Louis Cazaux from 05:52 PM:

It's important to maintain backwards compatibility, and anyone who doesn't like the name of Aanca is free to use a different name with an alias.


Hectochess. 10x10 variant that can be played with 2 mismatched Chess sets.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Apr 23 06:54 PM UTC in reply to A. M. DeWitt from 06:34 PM:

For some reason, it cannot find the description even though the path to that file is correct, but I'm not really concerned about that.

It wasn't prepending ROOT to the filename. So it was actually incorrect. I have now fixed that.


🕸Fergus Duniho wrote on Tue, Apr 23 04:57 PM UTC:

I fixed the PHP script behind this page to display the description, rules, and credits for this page, but it could not find some of the expected files.


Play Chess Variants with Jocly. Missing description[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Apr 23 04:25 PM UTC in reply to H. G. Muller from 12:17 PM:

Therefore Fergus created separate HTML pages for individual variants, which embed the Jocly applet preconfigured to run the corresponding variant, with a rule description. The overview page you refer to contains links to those individual game pages.

While I used to make separate HTML pages for individual variants, I replaced this practice with a PHP script that gets called through a semantic URL whose relative part starts with "/play/jocly/". If you want to review its code to see how it works, you can find the script at "/play/jocly/control.php". It relies on certain files being in place to display the description, rules and credits. It should work with games that have not been indexed yet, and if you do use it with unindexed games, you can, as an editor, add them to the index.


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


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


Game Courier Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Apr 22 06:16 PM UTC in reply to Daniel Zacharias from 05:39 PM:

I'm sure there's a reason for this, but why is it that having legality defined for move highlighting isn't enough to have legal moves enforced?

  1. Rule enforcement was a feature before showing legal moves was. Instead of replacing the standard method for rule enforcement, calculating all possible legal moves ahead of time was done as an extra step.

  2. Additionally, moves sometimes had side effects that were not explicitly mentioned in the notation for a move, such as en passant capture in Chess or changing the side of a piece and placing it in hand for Shogi. This imposed the requirement of running code for the actual move when it was made.

  3. Because calculating all possible legal moves is more expensive than just calculating whether one move is legal, it is done only in the Post-Game section. So, if rule enforcement depended upon the calculation of all possible moves for each turn, it would work only in on-going games made one move at a time, or it would have to be repeatedly done in the Post-Move sections, which would prolong the calculation of whether a series of moves were all legal. The way it currently works, it evaluates the legality of a series of moves much more efficiently than it would if it had to calculate all possible moves after each move. For the sake of efficiency, which kind of matters in an interpreted language written in another interpreted language, it makes sense to calculate all possible legal moves only when there is a choice of which move to make. For past moves, calculating all this is just overkill.

[Edit: combined 3 and 4]


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


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


🕸📝Fergus Duniho wrote on Sun, Apr 21 04:21 PM UTC in reply to Lev Grigoriev from 07:40 AM:

This should be fixed now.


🕸📝Fergus Duniho wrote on Sun, Apr 21 04:00 PM UTC in reply to Bob Greenwade from 02:40 PM:

As it happens, two of the options I would've given over Champion are Cardinal and Camel.

I have avoided using Cardinal or Chancellor for C, because the Cardinal is also known as an Archbishop, Princess, Paladin, and other names, and the Chancellor is also known as Marshall, Empress, and other names. I was initially using the Alfaerie Camel, but in looking over your pieces, I decided I liked your Champion better than the Alfaerie Champion.

And since I'm mentioning it, where you put the Fortress I would've suggested something more whimsical or offbeat:

I was going for something more suggestive of a Chess variant piece when seen out of context. A doubled-up Rook is one of those obvious designs that you, Jean-Louis Cazaux, and Musketeer Chess have all used.


🕸📝Fergus Duniho wrote on Sun, Apr 21 12:41 PM UTC in reply to Bob Greenwade from 03:51 AM:

The champion and phoenix were chosen to help spell cvp.


🕸📝Fergus Duniho wrote on Sun, Apr 21 02:09 AM UTC:

I have added new logos for the Darker color scheme. They feature a black cannon and a natural colored nightrider in the style of a winged horse. In the big logo on this page, the cannon was designed by Jean-Louis Cazaux and the nightrider by Bob Greenwade.


🕸📝Fergus Duniho wrote on Sat, Apr 20 06:51 PM UTC in reply to Bob Greenwade from 05:15 PM:

I followed the link to your thingiverse profile, but I didn't see all the pieces you have posted images of here in your comments. The closest I found to a Nightrider was the Zebrarider.

I figured out that you're packaging multiple pieces together, and I have to browse through each package to see them all.


🕸📝Fergus Duniho wrote on Sat, Apr 20 04:48 PM UTC in reply to Jean-Louis Cazaux from 01:40 PM:

I think I can work with the 3dviewer.net website, but I don't have a link to Bob's thingiverse account. Considering how many 3D pieces he designs, it would be a good idea for him to include a link to it in his profile.


🕸📝Fergus Duniho wrote on Sat, Apr 20 04:01 PM UTC in reply to Bob Greenwade from 03:37 PM:

Hopefully, brown works at least a little better.

It doesn't. The coloring is very splotchy, though more so on curved surfaces than on flat surfaces, as can be seen in this color image of a color scan of my Likebook Mars:


🕸📝Fergus Duniho wrote on Sat, Apr 20 03:38 PM UTC in reply to Jean-Louis Cazaux from 02:55 PM:

I don't have a Likebook Mars, so I don't know what you mean.

It is an Android tablet with an eink display intended primarily for reading. The important thing you need to know is that it displays everything in black and white eink, which has even fewer gradations of grey than a grey monochrome image on an LCD monitor would have. Since I made the Darker color scheme for use with it, I am testing how the images intended for this color scheme look on it.


🕸📝Fergus Duniho wrote on Sat, Apr 20 12:52 PM UTC in reply to Bob Greenwade from 04:07 AM:

I was comparing these on both my iPad and my Likebook Mars ereader, and on the latter, they all appear as grey on a black background. From the Thaumaturge on down, there are sharp contrasts between different shades of grey that look kind of random and ugly. I’m not sure if the horse shape of the first few pieces just leads to a more pleasing shading or if you did something different in the pieces following them, though I suspect it is the shape that makes the difference.


🕸📝Fergus Duniho wrote on Sat, Apr 20 11:56 AM UTC in reply to Jean-Louis Cazaux from 07:56 AM:

I wasn’t expecting either of you to change the color of your pieces. I envision the logo as having a white piece supplied by you and a blue piece supplied by Bob.

Additionally, I just looked at these pieces on my Likebook Mars, and they fade into the background too much on it.


🕸📝Fergus Duniho wrote on Fri, Apr 19 10:47 PM UTC in reply to Bob Greenwade from 10:40 PM:

I meant a blue piece on a black background.


25 comments displayed

Later Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.