Check out Alice Chess, our featured variant for June, 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 LaterLatest
Dealer's Chess. Armies are chosen by dealing special cards. (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
💡📝Bob Greenwade wrote on Fri, Nov 17, 2023 12:49 AM UTC:

For the cards on the Game Courier version of this, I'm thinking that a listing like

Rhinoceros - RH - rhinoceros
Moves one square diagonally; then may continue sliding outward orthogonally.

in the batch file (I can change the format if needed) would result in something like this:


Jean-Louis Cazaux wrote on Fri, Nov 17, 2023 05:59 AM UTC in reply to Bob Greenwade from 12:49 AM:

This card is neat. I would suggest to write the Betza's string with a small font between () towards the bottom of the card.


💡📝Bob Greenwade wrote on Fri, Nov 17, 2023 03:34 PM UTC in reply to Jean-Louis Cazaux from 05:59 AM:

I actually was contemplating putting the XBetza at the bottom. (Of course, I'd have to take care that the font was small enough that even the Linebacker Pawn's XBetza could all fit on one line!)

Of course, Fergus' feedback is important here too, since he's helping me with this part of the programming. And it will be necessary for H.G. to add my most recent upload so all of the starter cards have icons. (I'll have about a dozen or so more later on, to fill out the Expansion Sets.)


💡📝Bob Greenwade wrote on Fri, Nov 17, 2023 05:00 PM UTC in reply to Jean-Louis Cazaux from 05:59 AM:

Here's a shot at that, using the Linebacker Pawn (which has the longest XBetza of any piece that I know of). The entry would look like

Linebacker Pawn - PLB - linebackerpawn - fhmKifmnDifmnAfhmpafabucKifhmpafmpafabucK
Moves one space directly or diagonally forward (two for the opening move). Cannot capture, but pushes an enemy piece to the empty square just beyond.

The resulting card:

I realize that the XBetza is a little hard to read. Sorry, but 7-point type is the largest I could go and fit the whole XBetza on one line. (Of course, with a string like that, it could be 15-point type and still hard to read.)


Jean-Louis Cazaux wrote on Fri, Nov 17, 2023 05:11 PM UTC in reply to Bob Greenwade from 05:00 PM:

Yes, it's getting to the limits of the concept. I was not imagining using such complex pieces.

My suggestion was to put the Betza's string when it helps, for example WCZ is something that is meaningful when I read it. In case where the Betza's string is almost longer than what you need to explain, I believe you can forget it.


💡📝Bob Greenwade wrote on Fri, Nov 17, 2023 05:31 PM UTC in reply to Jean-Louis Cazaux from 05:11 PM:

"Sometimes there, sometimes not" might or might not happen. I'm expecting this will be done in an automated way, since there are 151 total cards to convert (71 in the basic game, and 80 expansion cards).


H. G. Muller wrote on Fri, Nov 17, 2023 05:58 PM UTC in reply to Jean-Louis Cazaux from 05:11 PM:

In case where the Betza's string is almost longer than what you need to explain, I believe you can forget it.

Indeed. Although Betza notation was initially conceived for the purpose of describing piece moves in a clear and compact way, it has evolved to a state where it has basically become a programming language in itself. With an expressive power so large that it can handle quite complex side effects of moves, such as pushing other pieces. This is a lucky coincidence we can take advantage of for programming a computer to handle the piece, but no longer useful as a description of the move for humans.

For descriptive purposes I would strongly recommend to use the bracket notation for multi-leg moves. Even in cases where the bracket notation would not yet work in the ID. It is much more easily readable than pure XBetza, because it does not need range toggles and extra intermediate square for making the atoms for the various legs compatible, as you can specify the atom for each leg independently.

I'm expecting this will be done in an automated way, since there are 151 total cards to convert (71 in the basic game, and 80 expansion cards).

You can suppress XBetza strings that are exceeding a certain length; it should be possible to do that automatically.


🕸Fergus Duniho wrote on Fri, Nov 17, 2023 07:02 PM UTC in reply to Bob Greenwade from 05:31 PM:

"Sometimes there, sometimes not" might or might not happen. I'm expecting this will be done in an automated way, since there are 151 total cards to convert (71 in the basic game, and 80 expansion cards).

It's on my todo list, but I've been busy with the script for showing pieces.


💡📝Bob Greenwade wrote on Fri, Nov 17, 2023 07:19 PM UTC in reply to Fergus Duniho from 07:02 PM:

It's on my todo list, but I've been busy with the script for showing pieces.

It's cool. I'm just finishing up the latest set, which I'll upload in a little while and then leave off for a while since that (with all the rest) gives me all the icons I need for diagrams in Hundred Acre Chess, Zwangkrieg, Short Sliders, and Vanguard Chess as well as this one. Plus, once I have at least one of my waiting games approved (if nothing else, Wedgie Chess looks to have no issues), I can start working up the page showing it all off, hopefully with a link from the graphics.dir index. And beyond that I have at least a couple of other games in mind that will use these icons. So, I'll have plenty to do once the icons are all in place.


💡📝Bob Greenwade wrote on Fri, Nov 17, 2023 07:30 PM UTC:

@Fergus & H.G.

I just put up one more update for my set. Once that and my previous udpate are both in place (at both my SVG directory and -- more importantly --- my set for the Diagram Editor), I can get into all the ID projects I just mentioned.

I don't anticipate any more updates for a while, unless either (1) I notice something that needs to be fixed, or (2) someone makes a specific request.

(What'll be next, in a couple of months, will likely be a mixture of my personal outliers, plus some more Shogi-specific pieces.)


Bn Em wrote on Sat, Nov 18, 2023 10:52 AM UTC in reply to Bob Greenwade from Fri Nov 17 12:49 AM:

I only just noticed it reading the card, but it's true of the page as well: you seem to have the Gryffon and Rhino the opposite way round from the conventional usage


💡📝Bob Greenwade wrote on Sat, Nov 18, 2023 03:17 PM UTC in reply to Bn Em from 10:52 AM:

Aw, crap -- so I do. I'll fix that later today.


💡📝Bob Greenwade wrote on Wed, Nov 22, 2023 12:33 AM UTC in reply to Bn Em from Sat Nov 18 10:52 AM:

It took a bit longer than I'd said, but I did get this corrected.

I also found that I'd completely screwed up Expansion Set #2; I hadn't changed the text descriptions of the moves at all! Good thing I was also making changes to the Left Knight and Right Knight.


🕸Fergus Duniho wrote on Sat, Nov 25, 2023 01:56 AM UTC:

I started on the script for showing cards tonight. It still needs work, but at least it is functional. Here's an example:

https://www.chessvariants.com/play/pbm/showcard.php?id=N&name=Knight&image=/graphics.dir/svg/Greenwade/wknight.svg&text=This+piece+leaps+in+an+L+shaped+pattern

Here's another example with a different font:

https://www.chessvariants.com/play/pbm/showcard.php?id=K&name=King&image=/graphics.dir/svg/Greenwade/wking.svg&font=Alice&text=The+King+moves+one+space+in+any+direction

This should be at least enough for you to start writing a cards file, which I could then use for testing. Just make a list associating each ID with a query string for the script, and I will turn it into a PHP array.


💡📝Bob Greenwade wrote on Sat, Nov 25, 2023 02:13 AM UTC in reply to Fergus Duniho from 01:56 AM:

OK, great! I'll start working on the script(s) after I've done a few more fixes on the icons.


💡📝Bob Greenwade wrote on Sat, Nov 25, 2023 08:44 PM UTC in reply to Fergus Duniho from 01:56 AM:

I was just getting started on this, when I realized that six of the seven Royals use compound icons, as do most of the starting Pawns.

I'm getting started with the Pieces, though.


🕸Fergus Duniho wrote on Sat, Nov 25, 2023 09:05 PM UTC in reply to Bob Greenwade from 08:44 PM:

I was just getting started on this, when I realized that six of the seven Royals use compound icons, as do most of the starting Pawns.

Try making them as you usually do with /cgi-bin/fen2.php, and we'll see if my script can use the image it creates.


💡📝Bob Greenwade wrote on Sat, Nov 25, 2023 09:36 PM UTC in reply to Fergus Duniho from 09:05 PM:

It doesn't. No matter how I juggle things around, there are conflicts in argument-passing.


🕸Fergus Duniho wrote on Sun, Nov 26, 2023 01:53 AM UTC in reply to Bob Greenwade from Sat Nov 25 09:36 PM:

I suppose there may be problems with including one query string inside another. But do it anyway and let me figure out how to make it work. Maybe I'll just pass your pseudo filename to fen2.php instead of using Imagick.


💡📝Bob Greenwade wrote on Sun, Nov 26, 2023 02:19 AM UTC in reply to Fergus Duniho from 01:53 AM:

OK. In case it helps, the way I'll do that is, for those particular pieces, the image call will be last for showcard, and the image pair will be last for fen2.

If all else fails, maybe you can see if the image-compounding for fen2 can be translated in one way or another to showcard. (That'd be easiest at my end, but it wouldn't surprise me if it was crazy complicated if not impossible at your end.)


🕸Fergus Duniho wrote on Sun, Nov 26, 2023 05:31 PM UTC in reply to Bob Greenwade from 02:19 AM:

I got compound images to work. If you specify the piece using the theme and piece options with the same values you would use for t and p in fen2.php, then it will use that script to generate the image. Here are some examples:

https://www.chessvariants.com/play/pbm/showcard.php?id=kr&name=Marshall&theme=Greenwade&piece=wknight--rook&text=Moves+as+a+Knight+or+a+Rook

And the reverse:

https://www.chessvariants.com/play/pbm/showcard.php?id=kr&name=Marshall&theme=Greenwade&piece=wrook--knight&text=Moves+as+a+Knight+or+a+Rook


💡📝Bob Greenwade wrote on Sun, Nov 26, 2023 06:10 PM UTC in reply to Fergus Duniho from 05:31 PM:

It looks awesome!

I actually would prefer the ID on the right side, but that's minor.

More significantly, the move text needs both a smaller font and more space. (This isn't even the longest description in the game! It's only the longest among the base Pieces.)

But I'll start formatting everything in this way now.


🕸Fergus Duniho wrote on Sun, Nov 26, 2023 06:47 PM UTC in reply to Bob Greenwade from 06:10 PM:

More significantly, the move text needs both a smaller font and more space. (This isn't even the longest description in the game! It's only the longest among the base Pieces.)

Let me have some examples with the longest text.


💡📝Bob Greenwade wrote on Sun, Nov 26, 2023 07:05 PM UTC in reply to Fergus Duniho from 06:47 PM:

Also the one with the longest name:

(It should've been the Bodyguard at the back, but somehow I screwed that icon up.)


🕸Fergus Duniho wrote on Sun, Nov 26, 2023 10:22 PM UTC in reply to Bob Greenwade from 07:05 PM:

I got these to work with a width of 210. I coded it to still keep a 5:7 aspect ratio if you alter just the width or the height. If you alter both, then you can change the aspect ratio how you wish, but 5:7 is what I got when I looked up the aspect ratio of playing cards. The ID and name are in Fira Sans, which is showing up bolder than other sans serif fonts I have installed. The description is in Flair, which is both compact and easy to read thanks to being bolder than many of the other serif fonts I have installed.


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.