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 Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

EarliestEarlier Reverse Order Later
About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
Daniel Zacharias wrote on Thu, Apr 18 01:18 AM UTC:

When fairychess is allowed to fill in the rules section for a game that uses svg piece images, some of the pieces end up being much larger than the others. This seems to be because the image is sized according to the piece name, even if the name is very long. Having the css explicitly set the image size could solve this.

White_Elephant
Elephant
White_Elephant

🕸💡📝Fergus Duniho wrote on Thu, Apr 18 04:08 PM UTC in reply to Daniel Zacharias from 01:18 AM:

Since the fairychess include file uses a shortcode to display pieces, I changed how the shortcode works instead of any code in the fairychess include file. I modified it to include WIDTH and HEIGHT values in the IMG tag when the image is an SVG image. These will be equal to $width and $height when these variables have values, as they usually do in Game Courier, and they will be 50 otherwise.


Daniel Zacharias wrote on Sun, May 5 12:38 PM UTC:

something seems wrong with this game. The code is just copied from Chinese Chess with some pieces added, so I don't think I changed anything important, yet it's saying I'm in check when I'm not.


🕸💡📝Fergus Duniho wrote on Sun, May 5 01:16 PM UTC in reply to Daniel Zacharias from 12:38 PM:

Your link is missing a query string.


Daniel Zacharias wrote on Sun, May 5 03:38 PM UTC in reply to Fergus Duniho from 01:16 PM:

oops, this is it


🕸💡📝Fergus Duniho wrote on Sun, May 5 04:34 PM UTC in reply to Daniel Zacharias from 03:38 PM:

You're using k/K for the general, but the code you copied is using g/G. So kpos and Kpos are not being updated.


6 comments displayed

EarliestEarlier Reverse Order Later

Permalink to the exact comments currently displayed.