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 ]

Ratings & Comments

LatestLater Reverse Order EarlierEarliest
Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Thu, Oct 7, 2021 05:12 PM EDT in reply to A. M. DeWitt from 02:49 PM:

Pieces are normally centered, but if you have odd-sized pieces on an even-sized space, or vice versa, 100% alignment may not be possible. Also, centering works best for pieces with nothing beyond the image of the piece itself. Some piece sets, such as Alfaerie, make all piece images a fixed size by adding extra space around most images. If the image of the piece is not properly centered in an image with extra space on the sides, it will not look properly centered on the board.


A. M. DeWitt wrote on Thu, Oct 7, 2021 02:49 PM EDT in reply to Fergus Duniho from 02:05 PM:

The hitbox positioning is much better. The images may be slightly off center, but that isn't much of a problem.


🕸💡📝Fergus Duniho wrote on Thu, Oct 7, 2021 02:05 PM EDT:

I added max-length: 100% !important to the STYLE field for the board image, and this fixed the problem. The squares for highlighting pieces and legal moves now align correctly.


🕸💡📝Fergus Duniho wrote on Thu, Oct 7, 2021 01:52 PM EDT:

Checking a screenshot of a Rook's legal moves in Chess in a graphics program, the squares for legal moves were at the right pixel locations, but the board was smaller than it should be. The image was 427x431. For comparison, I loaded the image by itself, took another screenshot, and checked its size. This time, it was 436x440. So, the browser is shrinking the image to fit the space, and after the browser has shrunk it, the precalculated positions for the empty images do not align with it. Therefore, I have to prevent the browser from shrinking the image.


🕸💡📝Fergus Duniho wrote on Thu, Oct 7, 2021 01:23 PM EDT:

While the right-shifting was more readily apparent, I also checked for vertical shifting by creating a position where a Rook covered a whole file. What I found is that there is also downward-shifting. No matter whether the board is rotated for Black, the empty gifs in the lower right are closer to the lower right corner than empty gifs in spaces more to the left or top. This is consistent with right and down being the two directions that increase as the x or y position of the image increases, since 0,0 is in the top left corner.


ChessVA computer program
. Program for playing numerous Chess variants against your PC.[All Comments] [Add Comment or Rating]
📝Greg Strong wrote on Thu, Oct 7, 2021 09:15 AM EDT in reply to Robert Mate from Sat Sep 25 12:52 AM:

Not sure if it's a bug, but for example, fairy-max should be able to play Los Alamos but can't. I've seen keywords "losalamos" and "los-alamos". Perhaps better access to the keywords?

Thanks for pointing this out.  For now, you can get it to work by editing the Los Alamos Chess include file.  Open it with a text editor and add the following line in the first section, where Invented and InventedBy are defined:

XBoardName = "los-alamos";


Gods on Pluto ZIP file. Plays with extremely weak pieces, no pawns, and drops.[All Comments] [Add Comment or Rating]
💡📝Christine Bagley-Jones wrote on Thu, Oct 7, 2021 04:20 AM EDT:

Thank you for answering.

This game was created in 2006, it worked from creation. Somewhere down the track, for whatever reason, it must of broken. I'll upload file again, thanks.


Grand Apothecary Chess-Classic. Very large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
💡📝Aurelian Florea wrote on Thu, Oct 7, 2021 12:06 AM EDT in reply to Aurelian Florea from Thu Sep 23 05:44 AM:

HG, If you are here please check my previous comments on this post!


Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Wed, Oct 6, 2021 10:16 PM EDT:

So far, I can't tell what the problem is. It affects both Square and Grid boards. I have been testing Chess, and the numbers look right when I examine the generated source code. Each square is 50x50, and after file a, each empty image for displaying a legal move has a left position that is 50 pixels greater than that for the file to its left. The a file starts at 16 pixels left, and each empty image for an empty space on that file starts at 23 pixels left. The h file starts at 366, and each empty image for an empty space on that file starts at 373. In each case, the difference is 7. Also, 373-23 and 366-16 are both 350, which is the expected value when each square is 50x50. With all these values being correct and equivalent, it remains a mystery why the empty image shifts slightly to the right with each file from left to right.


Betza notation (extended). The powerful XBetza extension to Betza's funny notation.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Wed, Oct 6, 2021 07:51 PM EDT in reply to H. G. Muller from Fri Aug 13 04:36 AM:

The ii modifier (or something similar meaning the same thing) is a genius idea. For the burning, there may be some merit to having something to determine certain specifics of the burning move (i.e. whether the move is passive as well as active, and if it is, which piece has priority in a conflict b/w the burning pieces) with diagram parameters. XBetza wouldn't necessarily be able to handle those specifics on its own.


ChessVA computer program
. Program for playing numerous Chess variants against your PC.[All Comments] [Add Comment or Rating]
📝Greg Strong wrote on Wed, Oct 6, 2021 04:48 PM EDT in reply to Daniel Zacharias from 02:40 PM:

It looks like this should not be over the limit. Can you send me the include file so I can give it a try?


Daniel Zacharias wrote on Wed, Oct 6, 2021 02:40 PM EDT in reply to Greg Strong from 11:31 AM:

I am, unfortunately. I have 144 squares and 21 piece types. What is the limit?


Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Wed, Oct 6, 2021 01:44 PM EDT in reply to Fergus Duniho from Tue Oct 5 09:55 PM:

As I've been editing code to not show warnings in the PHP error log, I have made lots of edits to draw_grid_png.php. I'll have to take a look at it and see what's causing this.

It does not appear to be caused by any recent edits to draw_grid_png.php. I temporarily reverted to an earlier version, and the problem remained.


Shatranj With Different Armies. Like Chess with Different Armies, but for Shatranj.[All Comments] [Add Comment or Rating]
💡📝Andrew L Smith wrote on Wed, Oct 6, 2021 12:53 PM EDT:

I believe this is now ready to be published.


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 Wed, Oct 6, 2021 12:52 PM EDT in reply to A. M. DeWitt from 10:17 AM:

Is there a way to detect suicide moves in GAME code?

There are two ways of doing a suicide, and these have different effects on the $old variable. Adding an @ to a space works like a promotion, which leaves the value of $old unaffected. Moving a piece nowhere gives $old an empty value. This may give a better indication that the move included a suicide, but it would come at the expense of the information about where the piece moved to.

Since it sounds like your Fire Demon piece is making a multi-part move, you may want to break down the whole move and analyze it step-by-step. You will find examples of this in multi-move variants like Marseillais Chess and Extra Move Chess.

With that in mind, another option would be to move the Fire Demon to the piece's space, then immediately move it back.

Another possibility for detecting a suicide move is to store the board position before the move into a variable, then compare the new position after the move to the stored position and see what differences there are.


ChessVA computer program
. Program for playing numerous Chess variants against your PC.[All Comments] [Add Comment or Rating]
📝Greg Strong wrote on Wed, Oct 6, 2021 11:31 AM EDT in reply to Daniel Zacharias from Tue Oct 5 04:52 PM:

I'm trying to test a game with ChessV, and I get an error saying "Not enough Zobrist keys" when I try to start it. What does it mean?

You must be using a very large number of piece types on a large board.  There is an upper limit on #Players * #Piece Types * #Squares, although it can be increased if I add more random numbers to the list of keys.  How large is what you are trying to do?


Gods on Pluto ZIP file. Plays with extremely weak pieces, no pawns, and drops.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Oct 6, 2021 09:28 AM EDT in reply to Christine Bagley-Jones from 08:19 AM:

The problem is that there is no file to download. As the author of this page, it is up to you to fix this. Please upload it with the file manager in the same way you have uploaded images. There is a link to the file manager in the Edit menu.


Upcoming Games[Subject Thread] [Add Response]
Christine Bagley-Jones wrote on Wed, Oct 6, 2021 08:25 AM EDT:

Hi all, thought I would say, from very soon till Christmas and the New Year I should be releasing a few games.

There is a Joy Joyce game, there is a few Charles Gilman games, and I have a game I have done myself, which probably will be the first to come out, and another game by myself that may have some new pieces, amazingly, I say amazingly because they are pretty simple pieces but I cannnot see anywhere that they have been used in any games, but I guess we shall see. I'm sure people will know if they exist elsewhere or not.

Thanks ya'll.


Gods on Pluto ZIP file. Plays with extremely weak pieces, no pawns, and drops.[All Comments] [Add Comment or Rating]
💡📝Christine Bagley-Jones wrote on Wed, Oct 6, 2021 08:19 AM EDT:

Hello, sorry, but I asked 2 weeks ago if someone could fix this download link, it doesn't work, is anyone able to do it.


ChessVA computer program
. Program for playing numerous Chess variants against your PC.[All Comments] [Add Comment or Rating]
Aurelian Florea wrote on Wed, Oct 6, 2021 07:47 AM EDT:

Are you here, Greg?


Changes to PHP Code[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Oct 5, 2021 10:06 PM EDT:

One more reason for no longer supporting offline pages is that many pages now include script-generated images with the drawdiagram.php script. These will work on a website running PHP, but they will not work offline. If I wanted offline pages to support them, I would have to write a script that finds each link to a script-generated image, creates a copy of the image with a unique name, and replaces the link to the script-generated image with a link to the copy of its output. That's too much work for something no one probably needs anyway, and archive.org can already make copies of them.


Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Tue, Oct 5, 2021 09:55 PM EDT in reply to A. M. DeWitt from 09:30 PM:

I noticed that in one of your games yesterday, and when you mentioned it, I thought perhaps it was because there were no adjustments for your boards in the image_dimensions.php script. But I just tested Shogi and Xiangqi, and I am seeing the same thing. As I've been editing code to not show warnings in the PHP error log, I have made lots of edits to draw_grid_png.php. I'll have to take a look at it and see what's causing this.


Chess Variants Query. More options for searching in these pages.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Oct 5, 2021 09:45 PM EDT in reply to Ben Reiniger from 06:08 PM:

I have been working on replacing absolute URLs with relative URLs. But I had mainly been looking for chessvariants.com URLs. I guess I'll have to look for chessvariants.org URLs too.


Changes to PHP Code[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Oct 5, 2021 09:42 PM EDT in reply to Ben Reiniger from 05:59 PM:

I did occasionally use the "info" page, previously linked to from the icon of an index entry. But I do not consider this worth keeping either. Those pages can still be reached from the "info" link in the footer of the item's actual page (except perhaps for multi-item pages?).

That's why I figured it would be okay to get rid of the link from the icon. The link in the footer had been the only link to the info page I had been aware of, and I figured it would be enough for anyone who wants to go to that page. I think most people would be unaware that the icon links to an info page or would just be interested in the link to the actual page rather than the link to a page with metadata about it. The index page really gave no indication that the icons linked to something different than the actual page, and most people who clicked on an icon would probably be surprised that it didn't go to the actual page.


Game Courier. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Tue, Oct 5, 2021 09:30 PM EDT:

I noticed that for the PNG, JPG, and GIF image rendering options that the hitboxes for the squares were off center compared to where the image was, with the effect being least at the upper left corner and increasing as you go towards the lower right corner.


25 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.