Comments by Fergus Duniho
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.
When I go to any person information page and try to view unpublished submissions, it just shows my own submissions.
Okay, I corrected that.
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.
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.
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.
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.
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.
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.
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.
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?
-
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.
-
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.
-
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]
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.
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.
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.
This should be fixed now.
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.
The champion and phoenix were chosen to help spell cvp.
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.
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.
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.
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:
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.
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.
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.
I meant a blue piece on a black background.
25 comments displayed
Permalink to the exact comments currently displayed.
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.