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 LaterLatest
Vanguard Chess. Game on 16x16 board, with 48 pieces per player. (16x16, Cells: 256) [All Comments] [Add Comment or Rating]
💡📝Bob Greenwade wrote on Fri, Oct 6, 2023 07:49 PM UTC in reply to H. G. Muller from 04:36 PM:

OK, then, so if everything else is OK (as I mentioned before), it's mainly just a matter of getting the graphics set to match the ID, which I think is just a matter of putting them all in one place. (If nothing else, I can collect all the "official" graphics and the usable ones of my own creation/modification into the Dealer's Chess graphics directory, and direct everything there.)

Is it all good, as far as you can tell from your vantage?


💡📝Bob Greenwade wrote on Fri, Oct 6, 2023 08:21 PM UTC:

A couple of considerably improved Spy icons:

I think I'll keep the other one, though, in case I ever need a Courier.


H. G. Muller wrote on Sat, Oct 7, 2023 07:54 AM UTC in reply to Bob Greenwade from Fri Oct 6 07:49 PM:

That sounds right; in principle this method for assigning images in Game Courier needs all images in one directory, and it doesn't matter which. It doesn't have a special facility like the ID to look for images in other directories.

I am not sure the following trick would work, though. Path names can be absolute (when they start with slash) or relative, and it is possible to specify a path to another directory that is not a sub-directory of the current one by using .. for indicating the parent directory. So if the specified piece directory is /graphics.dir/alfaeriePNG, and you specify an image filename as ../../membergraphics/MSdealers-chess/mypiece.png it could indicate a piece elsewhere. I am not sure whether the browser or server would not block the use of .. for security reasons, though.

(In the ID this trick would not work, because the image names must be specified without the color prefix, which would no longer be prefixes, but have to go somewhere in the middle if you would try to use a path name, so I had to make a special provision there for the use of 'guest piece'.)


💡📝Bob Greenwade wrote on Sat, Oct 7, 2023 02:55 PM UTC in reply to H. G. Muller from 07:54 AM:

I've already downloaded the entire Alfaerie set from the applet, plus a few dozen icons from the "Alfaerie Expansion Sets" mass-converted from gif to png, and put them into the same network drive directory along with all of the pieces I've created, using names I'm satisfied with (almost two dozen of them, including a few that I'm not using right away but think should be available).

(And looking at the original crocodile, gryphon, and dragon from that set does make me feel a little better about my dolphin and turtle.)


Jean-Louis Cazaux wrote on Sat, Oct 7, 2023 03:26 PM UTC in reply to Bob Greenwade from 02:55 PM:

Are those Alfaerie icons you have created available for other people? Have you drawn them as .SVG?


💡📝Bob Greenwade wrote on Sat, Oct 7, 2023 03:29 PM UTC in reply to Jean-Louis Cazaux from 03:26 PM:

As for availability, not yet, but they will be once I upload them and Dealer's Chess gets approved.

As for SVG, sorry, no. I wish I could, but I'm stretching myself enough already making them as PNGs.


💡📝Bob Greenwade wrote on Wed, Oct 11, 2023 06:15 PM UTC:

I think the Game Courier Preset for this game is ready to go. I'm not clear on how to get it listed on the Index or anything, though.


🕸Fergus Duniho wrote on Thu, Oct 12, 2023 03:25 PM UTC in reply to Bob Greenwade from Wed Oct 11 06:15 PM:

You make a page with a link to it. When you're signed in, goto the menu with your name at the top and select the menu item "Post Your Own Game". It will give you an option for submitting a Game Courier Preset. Choose that, fill in information about, and on the next form, enter the content of your page.


💡📝Bob Greenwade wrote on Thu, Oct 12, 2023 03:52 PM UTC in reply to Fergus Duniho from 03:25 PM:

Thanks, Fergus! It turns out that I'll have to wait until some of my waiting variants are approved, but now at least I know how to do it.


💡📝Bob Greenwade wrote on Fri, Nov 17, 2023 10:27 PM UTC:
When everything appears on this diagram, it'll be ready to be moved into the main article. (Unless it needs to be recolored, which it very well might.)
files=16 ranks=16 maxPromote=0 promoZone=1 promoChoice= holdingsType=1 graphicsDir=/play/pbm/showpiece.php?white=F9F9F9%26black=666666%26image=/graphics.dir/svg/Greenwade/ squareSize=50 graphicsType=svg lightShade=#D2D2D2 darkShade=#9825FF royal=10 royal=21 pawn:P:fmWfcFifmR4:pawn:a3,b3,c3,d3,m3,n3,o3,p3,,a14,b14,c14,d14,m14,n14,o14,p14 morph=N knight:N:WNC:knight:b2,o2,,b15,o15 bishop:B:B:bishop:e1,l1,,e16,l16 rook:R:R:rook:a2,p2,,a15,p15 queen:Q:Q:queen:h1,,h16 princess:Pc:BN:princess:g1,,g16 chancellor:C:RN:chancellor:k1,,k16 falconer:F:FADCG:falcon:d1,m1,,d16,m16 nightrider:Nr:NN:nightrider:b1,o1,,b16,o16 prince:Pr:FN:prince:j1,,j16 soldier:Sl:fsmWfcFifmR4:soldier:e3,f3,g3,j3,k3,l3,,e14,f14,g14,j14,k14,l14 morph=H wizard:W:FafsFafsafFudFudNudC:wizard:f1,,f16 berserker:Br:KANDcaKmcabK:berserker:c2,n2,,c15 ,n15 archer:A:mF3cabN:archer:e2,f2,k2,l2,,e15,f15,k15,l15 bowman:Bo:nNafsafmpafzcabmpafzK:archer--knight:g2,j2,,g15,j15 lancer:L:N2ncDncH:lancer:d2,m2,,d15,m15 helepolis:H:RcamfRidaufmRsb(caf)14R:dabbabah--yaf:a1,p1,,a16,p16 general:Gn:BnDD:general:h2,i2,,h15,i15 sergeant:Sg:fFfW3smW:sergeantpawn:h3,i3,,h14,i14 morph=L spy:SP:W2N:questionmark--man:c1,n1,,c16,n16 king:K:K:king:i1,,i16

🕸Fergus Duniho wrote on Fri, Nov 17, 2023 11:56 PM UTC in reply to Bob Greenwade from 10:27 PM:

On my Likebook Mars, which displays red as black, the shades, while distinguishable, are close together, particularly in A2 mode. So, I would recommend another color for the light squares.

I'll also mention for H. G. that the text with a red background appears all black on my Likebook Mars, making it unreadable.


💡📝Bob Greenwade wrote on Sat, Nov 18, 2023 12:38 AM UTC in reply to Fergus Duniho from Fri Nov 17 11:56 PM:

I switched around to another color option (which is also easier on my eye). Hopefully it doesn't make it worse on your other devices.


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 01:10 AM UTC in reply to Bob Greenwade from 12:38 AM:

On my Kindle Scribe, which displays red as white, all the spaces are white, making the board appear completely uncheckered. I do see the pieces on it, though, even though I don't see them on my desktop.


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 01:12 AM UTC in reply to Bob Greenwade from 12:38 AM:

On my Kindle Scribe, which displays red as white, all the spaces are white, making the board appear completely uncheckered. I do see the pieces on it, though, even though I don't see them on my desktop.


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 01:38 AM UTC:

I am trying this code, but there is a bug preventing it from working. Instead of appending .svg to the file name, as I have instructed it to, it is appending .pgn. This is probably a typo for .png, as that is a graphics format, and .pgn is a format for storing chess games. Also, since we're able to use SVG images now, it should allow svg as a value for graphicsType or graphSuffix.

files=16 ranks=16 maxPromote=0 promoZone=1 promoChoice= holdingsType=1 graphicsDir=/play/pbm/showpiece.php?white=F9F9F9%26black=666666%26image=/graphics.dir/svg/Greenwade/ squareSize=50 graphicsType=svg lightShade=#F9F9F9 darkShade=#FF6060 whitePrefix=w blackPrefix=b royal=10 royal=21 pawn:P:fmWfcFifmR4:pawn:a3,b3,c3,d3,m3,n3,o3,p3,,a14,b14,c14,d14,m14,n14,o14,p14 morph=N knight:N:WNC:knight:b2,o2,,b15,o15 bishop:B:B:bishop:e1,l1,,e16,l16 rook:R:R:rook:a2,p2,,a15,p15 queen:Q:Q:queen:h1,,h16 princess:Pc:BN:princess:g1,,g16 chancellor:C:RN:chancellor:k1,,k16 falconer:F:FADCG:falcon:d1,m1,,d16,m16 nightrider:Nr:NN:nightrider:b1,o1,,b16,o16 prince:Pr:FN:prince:j1,,j16 soldier:Sl:fsmWfcFifmR4:soldier:e3,f3,g3,j3,k3,l3,,e14,f14,g14,j14,k14,l14 morph=H wizard:W:FafsFafsafFudFudNudC:wizard:f1,,f16 berserker:Br:KANDcaKmcabK:berserker:c2,n2,,c15 ,n15 archer:A:mF3cabN:archer:e2,f2,k2,l2,,e15,f15,k15,l15 bowman:Bo:nNafsafmpafzcabmpafzK:archer--knight:g2,j2,,g15,j15 lancer:L:N2ncDncH:lancer:d2,m2,,d15,m15 helepolis:H:RcamfRidaufmRsb(caf)14R:dabbabah--yaf:a1,p1,,a16,p16 general:Gn:BnDD:general:h2,i2,,h15,i15 sergeant:Sg:fFfW3smW:sergeantpawn:h3,i3,,h14,i14 morph=L spy:SP:W2N:questionmark--man:c1,n1,,c16,n16 king:K:K:king:i1,,i16

💡📝Bob Greenwade wrote on Sat, Nov 18, 2023 01:48 AM UTC in reply to Fergus Duniho from 01:38 AM:

It wouldn't have rendered the Bowman, Helepolis, or Spy anyway, as those are compound images. (Or would it? I'm not sure.) Still, it's good to know that for something like Hundred Acre Chess (which doesn't use those) that's an option, or soon will be.

PS: I switched to white/fuschia. How is it now?


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 02:44 AM UTC in reply to Bob Greenwade from 01:48 AM:

Your fuschia squares are still white on my Kindle Scribe. On my eink devices, colors with a high red value do not work well. They are too dark on the Likebook Mars and too light on the Kindle Scribe. I recommend staying away from red squares unless H. G. makes them render as a medium grey on eink like I did with red pieces using showpiece.php.


💡📝Bob Greenwade wrote on Sat, Nov 18, 2023 05:19 AM UTC in reply to Fergus Duniho from 02:44 AM:

How about purple and light grey?


H. G. Muller wrote on Sat, Nov 18, 2023 08:46 AM UTC in reply to Fergus Duniho from 02:44 AM:

The ID already makes an attempt to recognize e-ink devices (by their color depth), for the purpose of suppressing color highlighting, and forcing the use of marker symbols instead. (Which otherwise would require useMarkers=1.) I could also make that affect the background color of messages like 'Checkmate!'. For the initial message that appears above the board the HTML setting the background is just part of the message, but it is not very critical that this should be red. I could switch it to green.

The ID accepts any string as graphicsType, and would append it to the filenames as an extension (i.e. separated by a dot) if it is not set to the empty string. Except when there is a % in the filename; then the extension (and graphicsDir prefixing) is suppressed, to allow 'guest images' of another, explicitly mentioned type.

The problem with the Diagram below is that it uses the key graphSuffix for specifying the graphics type, which is not recognized by the definition parser. (And then ignored. Perhaps I should emit a warning for unrecognized parameters, instead of the usual meaasge above the board.) The confusion probably arises from that graphSuffix is the internal name of the variable used in the JavaScript for this. The variable names do not always coincide with those of the parameters, as the idea of using the original content of the Diagrams HTML tags to define the Diagram (rather than extra JavaScript between <script> tags) evolved only later, and the variable names did not always seem optimal.

The failed attempt to specify the graphicsType does expose the typo in the default value for this; I will fix that.

[Edit] OK, I think I fixed everything, both in betza.js and betzaNew.js. The default graphicsType is now png, and the red highlighting in the text above the board is now changed to #808080 when the colorDepth of the screen is <= 16. It also displays an error message for the last non-fatal error. (Flush cache to use new version!)


H. G. Muller wrote on Sat, Nov 18, 2023 10:25 AM UTC in reply to Bob Greenwade from Fri Nov 17 10:27 PM:

When the Berserkers appear on this diagram, it'll be ready to be moved into the main article. (Unless it needs to be recolored, which it very well might.)

Well, not really, because it relies on images from an external website, which is something we want to discourage. Especially since this is a http website: most people won't be able to see those images at all, since CVP became a https site. It requires a non-default setting of the browser to see them.


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 11:40 AM UTC in reply to H. G. Muller from 08:46 AM:

I'm still seeing a black bar above the board on my Likebook Mars. Tell me how you check the color depth with Javascript, and I will report back the values I get.


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 01:02 PM UTC in reply to H. G. Muller from 08:46 AM:

The failed attempt to specify the graphicsType does expose the typo in the default value for this; I will fix that.

Let me know when you have. Web Developer Tools in Firefox is still telling me the images have the .pgn extension.


H. G. Muller wrote on Sat, Nov 18, 2023 01:22 PM UTC in reply to Fergus Duniho from 11:40 AM:
  if(screen.colorDepth <= 16) useMarkers = 2, realColor = '#E0E0E0', light = '#FFFFFF', hicol = '#808080'; // assume grey-scale display

'hicol' is what is used as background color on highlighted messages, 'realColor' and 'light' the square shades. I have not tested it on an e-ink device.

I have fixed the default extension. You did flush the cache? (If e-reader browsers have such a thing...)

 


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 02:11 PM UTC in reply to H. G. Muller from 01:22 PM:

screen.colorDepth

My desktop computer, my Likebook Mars, and my Kindle Scribe all report a value of 24. So, this isn't useful for distinguishing between them.


🕸Fergus Duniho wrote on Sat, Nov 18, 2023 02:20 PM UTC in reply to H. G. Muller from 01:22 PM:

You did flush the cache?

I did that in Firefox on my Likebook Mars, but I saw no improvement. On my desktop, I clicked on Reload Skip Cache, and when I inspected the Javascript-produced HTML with Web Developer Tools, I couldn't find any IMG tags for the pieces. I changed graphSuffix to graphicsType in a preview, but it didn't change the result.


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.