Check out Grant Acedrex, our featured variant for April, 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 ]

Comments by FergusDuniho

LatestLater Reverse Order EarlierEarliest
Sign in to the Chess Variant Pages. Sign in to the Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Oct 18, 2018 01:15 AM UTC:

When you sign up, email is sent immediately. But thanks to some very strict measures that some email providers take to reduce spam, email from this site doesn't always get through. Check your spam folder, and if you still can't find any email, you may delete your new account and try signing up again with an email address from a different email provider.


The birth of two variants: Apothecary chess 1 & Apothecary chess 2[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Wed, Oct 17, 2018 07:46 PM UTC:

When you need the value of a variable in an expression, you have to prepend a # to its name or precede it with the var operator. In "if coun1", "coun1" just returns the string value "coin1". Likewise, in "if coin2", "coin2" just returns the value "coin2".


🕸Fergus Duniho wrote on Wed, Oct 17, 2018 04:04 PM UTC:

Contrary to the code you posted, this is in your code:

set coin1 (rand 0 1);
set coin2 (rand 0 1);

This code sets coin1 and coin2 to 

Array
                        (
                            [0] => rand
                            [1] => 0
                            [2] => 1
                        )

, not to a random number. You need to remove the parentheses for it to work right.


🕸Fergus Duniho wrote on Tue, Oct 16, 2018 06:37 PM UTC:

Give me a link to what you're working on, and I'll take a look.


Alfaerie Variant Chess Graphics. Set of chess variant graphics based on Eric Bentzen's Chess Alpha font.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Oct 16, 2018 01:57 PM UTC:

That's what it did. With this GIF, it used the actual size of the image.

Likewise with this PNG.

Maybe it chooses something like 150x150 for excessively large images.


The birth of two variants: Apothecary chess 1 & Apothecary chess 2[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Oct 16, 2018 01:49 PM UTC:

Game Courier selects a new seed for each game, and it keeps the same seed throughout a game. To test this, you need to make sure you are playing separate games each time. You could issue invitations to yourself, try it out on different browsers, or start each game in a new private or incognito window. If you go back to your preset's menu between games and refresh your cache, that should also work.


Alfaerie Variant Chess Graphics. Set of chess variant graphics based on Eric Bentzen's Chess Alpha font.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Oct 15, 2018 10:58 PM UTC:

I used CKEditor's WYSYWYG mode to post the image, and it turns out that it set a size for the image without me realizing it. I am switching to Source mode to control the HTML.

Here it is without any size specified:

https://www.chessvariants.com/graphics.dir/svg/alfaerie/wking.svg

Here it is with 50x50 size:

https://www.chessvariants.com/graphics.dir/svg/alfaerie/wking.svg

🕸Fergus Duniho wrote on Mon, Oct 15, 2018 05:42 PM UTC:

On my PC, the image showed up on every browser I tested: Vivaldi, Chrome, Firefox, Internet Explorer, Safari, and Opera. Its aspect ratio was distorted in Safari, so that it was too short or too wide. But this is probably because the latest version of Safari that runs in Windows is old. It appeared fine in Safari on my iPad. Based on this, I expect SVG images to show up in any modern browser.


🕸Fergus Duniho wrote on Mon, Oct 15, 2018 05:29 PM UTC:

I copied them to this site. This is just to test that they show up in the browser:

https://www.chessvariants.com/graphics.dir/svg/alfaerie/wking.svg


🕸Fergus Duniho wrote on Sun, Oct 14, 2018 07:41 PM UTC:

The SVG pieces are looking good. When you have finished making them, I'm hoping you could put them into a zip file and make it available for downloading. I could then work on making use of them with Game Courier and the Diagram Designer.

It is good to be able to put more than one piece on the same space, but I'll point out that Game Courier uses the hyphen for non-space, and you might want to do the same if you plan on handling boards that are not completely rectangular. In that case, you might want to come up with a different way of including multiple pieces on the same space. Since Game Courier encloses longer names in braces, what I'm thinking of is to place multiple comma-separated names between a pair of braces.


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sun, Oct 14, 2018 07:26 PM UTC:

Since the site was down for a week, I added a week of time to the players whose moves were interrupted by this downtime. But this works only in Game Courier itself. To repeat accurate calculations for each log, the Logs page would have to load each log, which would multiply the work it has to do. Instead, it relies on the value of the Deadline column in the GameLogs table. This is a fixed value that was not updated when I added code to Game Courier to compensate for the time lost by the site being down. Since this value may be mistaken, the Logs page no longer updates logs or the database when time has run out. In this case, it is mistaken, and you should simply continue your game.


Image of four level 3D chess set from 1960s Batman TV series[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Wed, Oct 10, 2018 12:41 AM UTC:

It could be that each is just a separate game of Chess to be won or lost on its own terms, and they are playing four games at once, because that is the kind of challenge their intellects need.


🕸Fergus Duniho wrote on Tue, Oct 9, 2018 04:41 PM UTC:

I watched this show before I was into Chess variants. The pieces are Renaissance set pieces. I have a set of those myself. This looks like a very crowded game with a full Chess set on each level. I can clearly enough see the Kings on the top two levels, and it looks like I can see parts of the White King on each level.


Alfaerie Variant Chess Graphics. Set of chess variant graphics based on Eric Bentzen's Chess Alpha font.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Oct 8, 2018 09:13 PM UTC:

I'm guessing that GitWeb was supposed to be installed to something like /cgi-bin/gitweb/ instead of to /cgi-bin/ itself, because it appears to be designed to monopolize the directory name as though it were a script name. I would recommend uninstalling it and reinstalling it to its own directory.


🕸Fergus Duniho wrote on Mon, Oct 8, 2018 08:57 PM UTC:

Do you have an .htaccess file in your cgi-bin or home folder? It might be set up to rewrite or redirect any URL to cgi-bin to a particular script.


🕸Fergus Duniho wrote on Mon, Oct 8, 2018 08:28 PM UTC:

If you have your own VPS, what's stopping you from installing the software you need on it?


🕸Fergus Duniho wrote on Mon, Oct 8, 2018 01:34 AM UTC:

The GD functions are not accepting script URLs as valid image resources. So, I'll have to handle the recoloring of pieces differently for the GIF, PNG, and JPG rendering methods. I'm thinking I'll add two new parameters. I was going to call them wcolor and bcolor, but bcolor is already used for the border color. Maybe color1 and color2. If left blank, the default color would be used. If non-empty, it would override the color for sets using solid color pieces. For the table and CSS rendering methods, it would convert the image URLs in $pieces to the scripted URLs, and for the GIF, JPG, and PNG methods, it would change the color as it worked with the images.


🕸Fergus Duniho wrote on Mon, Oct 8, 2018 01:10 AM UTC:

I have never worked with SVG files, and the GD library, which is what this script uses, does not support them. Plus, I don't yet have any SVG files to work with. Once I get some, I could look into how they could be used.


🕸Fergus Duniho wrote on Sun, Oct 7, 2018 06:04 PM UTC:

Testing new script.

I was finally able to preserve transparency when resizing. This script works with bitmap images, not with SVG images.


🕸Fergus Duniho wrote on Sat, Oct 6, 2018 10:17 PM UTC:

Pieces could be recolored when rendering the board as a single image, and in table- or CSS-rendered diagrams, script URLs in place of image files. For simplicity's sake, it might be best to do it all through a script that shows individual pieces in specific colors. This is assuming that GD can load an image from a PHP script. But this should be done only for solid-color pieces. So, it would be best to do it with new sets or to adapt some pre-existing sets to handle changes in color.


🕸Fergus Duniho wrote on Sat, Oct 6, 2018 09:55 PM UTC:

I'm now beginning to see why David chose to use blue for the black pieces. I have been looking at the site with my new Likebook Mars, which is an e-ink Android device, and the reds appear very dark or even black, which obscures the detail of the red pieces I've made. But the blue Alfaerie pieces look just fine on its e-ink screen. This is relevant, because David is color-blind, and if I recall correctly, he has difficulty seeing red. I'm going to have to recolor some things so that they are still visible in e-ink and to color-blind people.


About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Sat, Oct 6, 2018 03:55 PM UTC:

I added a week of time for the current player of every game that was interrupted. This will not show up on the Logs page, but it will show up in Game Courier.


MLqhesz[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Sep 26, 2018 12:53 PM UTC:

This is clearly a labor of love, and giving the game its own domain shows your confidence in it. That said, I will point out some things. A trial-and-error process like evolution is not the same thing as a quest for a holy grail. To call this game an evolution of chess could mean one of two things. It could mean it is a mutation of chess, but so are most chess variants, and being a mutation is not a significant milestone of any kind. It could also mean that it is a time-tested accumulatíon of small mutatíons that have become widely accepted by a large community of players as a new standard. In this sense, Chess is an evolutíon of Shatranj. But since Qhesz is the new creation of one person, and it has not had time to catch on anyway, it does not count as an evolution in this sense.

It's not clear from the description of the rules whether castling with rooks is still part of the game.

The crescent moon and star is the symbol of Islam. Some Muslims might not approve of its use for a wizard type piece.

I read this on my new Likebook Mars, which uses e-ink, and the white text on a black background was making the ghosting more visible than usual. Also, it did not seem mobile-friendly enough. The links on the right had little space left, and they were overlapping a bit with the main body.


PHP 7[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, Sep 24, 2018 09:02 PM UTC:

There was a tab character after the closing PHP tag. Redirecting works only if the script doesn't display any text. I deleted it, and it works now, though I had to refresh the page to see the results change in the menu.


Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sun, Sep 23, 2018 05:07 PM UTC:

Just testing to make sure nothing is broken after updating scripts for entering comments.


PHP 7[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Sep 22, 2018 11:19 PM UTC:

This game has its rules described in a minirules file, not in the briefrules value. Minirules files precede the use of the briefrules field. I added the latter, because only editors could upload minirules files. Go to the /play/pbm/minirules directory to edit this file.


🕸Fergus Duniho wrote on Sat, Sep 22, 2018 02:10 AM UTC:

In the test I did, the text I entered in the field showed up in the appropriate place. Can you give me an example preset where this is not working right?


🕸Fergus Duniho wrote on Fri, Sep 21, 2018 02:24 AM UTC:

That's now fixed. The condition for exiting with this message began with empty($SESSION) ||, which would always be true, since the variable name should have an underscore in it, and $SESSION doesn't exist. 


Unicode Fonts with Chess Piece Images. Images of how the Unicode Chess piece characters are displayed in different fonts.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Sep 20, 2018 11:14 PM UTC:

The western style pieces you mention are not circular or wedge shaped, and they are missing some of the images I can see on the page for the font, such as the circular arrow piece, but at least they do include images that can be used for Shogi and Xiangqi, and it would be possible to add these images to the appropriate shapes to make piece sets out of them.


🕸📝Fergus Duniho wrote on Thu, Sep 20, 2018 09:15 PM UTC:

Where are the Xiangqi and Shogi pieces? I couldn't find those in the font.


🕸📝Fergus Duniho wrote on Thu, Sep 20, 2018 07:29 PM UTC:

It looks like you're right. I have the font installed, and I got a white elephant.


🕸📝Fergus Duniho wrote on Thu, Sep 20, 2018 07:27 PM UTC:

Testing: 󼋠 should be a White Chess Elephant


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Sep 19, 2018 10:09 PM UTC:

Carlos was jumping the gun about him. He was using translated pages, and these weren't sending the correct submit values to Game Courier. I recommended that he use English pages, and in the meantime, I fixed the problem with translated pages, so that they would work too.


Unicode Fonts with Chess Piece Images. Images of how the Unicode Chess piece characters are displayed in different fonts.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Sep 19, 2018 06:16 PM UTC:

Thanks, I have added Nishiki-teki to the page.


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Sep 19, 2018 05:39 PM UTC:

He might have done it accidentally, since he repeated the same move.


Possible Problem with Shogi (on promotion)[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Sep 18, 2018 10:18 PM UTC:

Try it again. It should be fixed now.


Unicode Fonts with Chess Piece Images. Images of how the Unicode Chess piece characters are displayed in different fonts.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Tue, Sep 18, 2018 04:41 PM UTC:

I got the same results on Linux Mint, and I found a site with a font preview that confirms it. So, I have moved it to the list of free fonts. Thanks.


🕸📝Fergus Duniho wrote on Mon, Sep 17, 2018 09:56 PM UTC:

Do any of these tests show the same pieces as displayed on my Kindle Fire? They don't for me, not even in Fedora, which I tried with Virtualbox. It came with some versions of Noto Sans, but not Noto Sans Symbol.

Testing for Noto Sans:

♔♕♖♗♘♙ ♚♛♜♝♞♟

Noto Sans Symbol:

♔♕♖♗♘♙ ♚♛♜♝♞♟

Noto Sans Symbols:

♔♕♖♗♘♙ ♚♛♜♝♞♟


🕸📝Fergus Duniho wrote on Mon, Sep 17, 2018 08:02 PM UTC:

That's where I got it from last night. I have already checked the Noto fonts on Linux Mint, but they didn't seem to include their own Chess pieces, and I never saw the pieces I saw on my Kindle Fire on Linux Mint. What Linux distribution are you using?


🕸📝Fergus Duniho wrote on Mon, Sep 17, 2018 05:30 PM UTC:

Give me a link where I can download the version you have or see this for myself.


🕸📝Fergus Duniho wrote on Mon, Sep 17, 2018 02:18 AM UTC:

I just installed Noto Sans Symbols on my computer, and it does not appear to have its own set of Chess pieces. In NexusFont, it is defaulting to MS Gothic or MS Mincho, and in paint.net, it is defaulting to Meiryo or Segoe UI.


On Designing Good Chess Variants. Design goals and design principles for creating Chess variants.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sun, Sep 16, 2018 01:03 PM UTC:

After White's pawn takes the Queen and promotes to an Archbishop, Black has only four moves available. Two of these moves would expose it to capture without any significant consequence for White, and another would allow White to move the Archbishop to b8. The remaining move is to go to d7, checking the King. If White responds by taking the checking piece with either Archbishop, the resulting position is a stalemate. If White responds by moving the King, Black can take either Archbishop en prise. If White responds with a block on e6 from the Archbishop on e6, Black can exchange Archbishops. This might still be favorable for White. If Black takes the Pawn at b5 instead, White can still probably force an advantage. So, it looks like White could still win if the Pawn promotes to an Archbishop. The advantage of promoting to a Bishop is that White can win quickly and decisively. If the Archbishop moves to d7 for check, the Bishop can take it without causing stalemate. If the Archbishop makes its only safe move to c7, then the Bishop can safely check the King from b7, forcing the King to move to b8. The Archbishop can then move to d7 for checkmate.


🕸📝Fergus Duniho wrote on Sat, Sep 15, 2018 03:55 PM UTC:

If promotion is only to captured pieces, as in Grand Chess, then underpromotion enables promotion when there are no captured compound pieces to promote to.


Ideas for future of chess variants[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Sep 13, 2018 01:18 PM UTC:

That the Knight is roughly equivalent in power to a Bishop was probably one of the factors that contributed to it being used in Chess. If the Knight were as weak as a Wazir or Ferz, it might have been replaced by a Knightrider, and if it were as powerful as an Amazon, it might have been omitted.


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Sep 13, 2018 01:11 PM UTC:

That was due to a coding mistake I made yesterday. I replaced the count function with is_array($op1) && count($op1) instead of is_array($op1) ? count($op1) : 0, and the result was that the actual count was replaced with 1 whenever it was positive. I fixed that, corrected your log and its database entries, fixed the problem with posting here, and moved your comments from where you originally made them.


🕸📝Fergus Duniho wrote on Thu, Sep 13, 2018 02:01 AM UTC:

That may have happened when the typo I made introduced a bug in the code. I corrected the results for this game in the log and the database.


Ideas for future of chess variants[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Sep 13, 2018 01:42 AM UTC:

The Knight doesn't just complement the Bishop. It complements both the Bishop and the Rook, because it leaps to the nearest spaces that these two pieces cannot reach. 


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Sep 12, 2018 05:09 PM UTC:

There was a typo in my last change to Game Courier. Fixing that fixed the problem.


Ideas for future of chess variants[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Wed, Sep 12, 2018 12:22 PM UTC:

Where is it documented that Chu Shogi was the dominant Chess variant in Japan for centuries?


Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Sep 10, 2018 01:31 PM UTC:

Okay, that's all fixed. I was rewriting the code without the use of a deprecated feature, and I didn't quite get it right last night.


The ratings page under the august 2018 menubar uodate[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, Sep 10, 2018 12:49 AM UTC:

It will now appear in the Related Pages menu on Game Courier pages.


PHP 7[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Sep 8, 2018 10:07 PM UTC:

That's now fixed. You were on a page with HTTPS, but the form used a full URL that began with HTTP://. I changed it to a relative URL, so that it would be HTTPS when the page is already HTTPS.


🕸Fergus Duniho wrote on Fri, Sep 7, 2018 01:10 AM UTC:

I changed the owner of the log directory and the PHP log file to apache, and now errors are being logged.


🕸Fergus Duniho wrote on Thu, Sep 6, 2018 05:54 PM UTC:

It doesn't look like that has helped. The timestamp on the PHP errors log still hasn't changed. At least sessions are working. So, I'll leave it like that until I have more time to focus on it.


🕸Fergus Duniho wrote on Thu, Sep 6, 2018 05:48 PM UTC:

With PHP 7, the user and group were set to php-fpm instead of to apache. I initially changed these back to apache, but errors were not being logged. To get errors to log, I changed these back to php-fpm, but then sessions wouldn't work. So I changed them back to apache again. In the meantime, I added the user php-fpm to the chessvariants group and the apache group so that Game Courier would save logs when the user was php-fpm. Since the error log has stopped growing again, I will try adding apache to the php-fpm group. So, I will reboot the server after posting this.


Courier Chess. A large historic variant from Medieval Europe.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Sep 6, 2018 04:42 PM UTC:

Since the author of this settings file copied the contents of an include file instead of including it, I edited the settings file directly. Since the buggy code was for evaluating potential castling moves, and this game has no castling, I removed that bit of code.


HTTPS[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Sep 4, 2018 02:14 PM UTC:

When I have "Always use HTTPS" enabled in Cloudflare, this site will not load on my Kindle Touch's browser. Since I want to be able to use the site on an e-ink device, I may have to leave this disabled. The site will still work with HTTPS in an up-to-date browser, but if Amazon will not update the browser in the Kindle Touch, there is nothing I can do on my own to update it.


Home page of The Chess Variant Pages. Homepage of The Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Sep 3, 2018 02:21 AM UTC:

The homepage is now an HTML file. This is so that it still shows content when PHP or MySQL fails. It no longer includes the What's New section, which is script-generated, but it does include a link to the What's New page.


🕸📝Fergus Duniho wrote on Sun, Sep 2, 2018 05:38 PM UTC:

I've now remembered why I should change this page from a PHP script to an HTML page. I had originally thought of doing this so that this page would show up when the site went down. Cloudflare, which I use for DNS, has the ability to cache content and continue to show it even when the server is down. However, this works only for static content. When I set it up to cache HTML files, it would not update the menu when someone logged in. So. I changed things back and put aside the idea of doing this page in HTML.

But now I've remembered that this page shows up as blank when PHP isn't working, but HTML pages still show their main content with only the headers and footers missing. While this isn't a good enough reason to turn all the scripts into HTML pages, I think it is a good enough reason to do the homepage in HTML. This is the main page that people come to when coming to this site, and if it is blank, it can give the appearance that the whole site is down even if it isn't.


beta test games[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Sep 1, 2018 11:03 PM UTC:

You're thinking of "Your Game Courier Settings Files". This was on the menu for the Play subdomain, but not for the main domain. When I put the whole site on the main domain, this changed the menu used on all the pages that had been on the Play subdomain. I have now copied that menu item to the main menu.


PHP 7[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Aug 30, 2018 02:57 PM UTC:

That's now fixed. In PHP 7.1, mt_rand() was "updated to use the fixed, correct, version of the Mersenne Twister algorithm." This meant that it would generate different random numbers from the same seed, and the effect this had on CWDA was that it chose different armies for the players. For the sake of backwards compatibility, mt_srand(), which sets the seed, now allows the MT_RAND_PHP flag, which signals mt_rand() to use the old, incorrect algorithm. Using that, I reverted it back to the old algorithm, which will generate the same results that the seed used for the game previously got.


BCMGames. A versatile and customizable Shogi program.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Aug 30, 2018 02:21 PM UTC:

This 2012 version of BCM Shogi is no longer working. If anyone knows of a more recent version, please send me a copy or let me know where I can download it.


PHP 7[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Aug 30, 2018 02:20 AM UTC:

Finally, I tried a few more things, and I got sessions working. Now I can go to bed without worrying about this.


🕸Fergus Duniho wrote on Thu, Aug 30, 2018 02:01 AM UTC:

I have modified Game Courier to include the password field when sessions aren't working. So, you can now move in games even without sessions working. I don't think I can do anything else tonight, but I'll get back on this tomorrow.


🕸Fergus Duniho wrote on Thu, Aug 30, 2018 01:13 AM UTC:

Game Courier had a weird problem with a couple instances of mktime(). When I removed the leading zeros from some parameters to the function, it fixed that problem. But I still can't make a move without sessions working.


🕸Fergus Duniho wrote on Wed, Aug 29, 2018 11:39 PM UTC:

Game Courier is not working too. I have some things to work on before going to bed.


🕸Fergus Duniho wrote on Wed, Aug 29, 2018 10:51 PM UTC:

So, I managed to post the previous comment. That means passwords are being recognized. But there is still an issue with getting the menu to recognize that I am signed in. I have to get something to eat. I suppose I should have begun this after dinner instead of before. I'll do what I can tonight to get things working again.


🕸Fergus Duniho wrote on Wed, Aug 29, 2018 10:34 PM UTC:

I just installed PHP 7, and I have not been able to sign in. I do not know if I will be able to post this.


HTTPS[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, Aug 27, 2018 10:30 PM UTC:

I added code to .htaccess to 301 redirect the play subdomain to the main domain, and I configured Cloudflare, which is used for DNS, to always use HTTPS and to rewrite HTTP URLs to HTTPS. I previously made various changes to Game Courier and to pages with links to Game Courier to use URLs with the play subdirectory in the main domain. The play subdomain will still work, but the pages it points to will have their URLs rewritten to the main domain.

If anything appears broken, let me know. Or if you're an editor, and it is something minor like a broken URL, you can try fixing it yourself.


The Hosting Service[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Fri, Aug 24, 2018 05:10 PM UTC:

Time is approaching when my hosting service will come up for renewal. Around that time, I could go somewhere else or stay with them. For now, I'm thinking of staying with them. There has occassionally been downtime due to problems with the hosting service. The last time this happened, they sent an email the same day explaining what had happened. Some problems may have been due to them being a new company that is still building its infrastructure. So, as it is gets older, it may become more mature and stable. Also, I just learned that they were bought earlier this year by a more established company in the Netherlands. This is fitting, because this site originally began in the Netherlands. And this has given me an idea, though I'm not ready to pull it off yet. Thanks to being owned by a Dutch company, the hosting service I'm using now sells VPS packages on servers in the Netherlands, and they are at the same affordable prices as their VPS packages in the USA. So, my idea is to get a second server in the Netherlands, and to do synchronization and load balancing between the two servers. I like the idea of having a second server there, because this site began there, and it's a good location for handling European traffic. For the present though, I don't know very much about synchronizing and load balancing two servers, and I have other things to take care of first.


Game Courier FAQ. Answers to various questions about Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Aug 23, 2018 08:52 PM UTC:

I had changed some constant values from using http to using https, and this messed up with drawing images of boards, because str_replace failed to change URLs to file paths, and it couldn't find the graphics it needed. Maybe it had other effects too. I changed the constants back, and the problem seems to have gone away.


🕸📝Fergus Duniho wrote on Thu, Aug 23, 2018 08:29 PM UTC:

I'm looking into it now. I'm not sure what is going on, but it does seem more general than particular logs.


Game Courier History. History of the Chess Variants Game Courier PBM system.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Wed, Aug 22, 2018 02:23 AM UTC:

Game Courier checks where GAME Code has been entered for a preset, whether there is a list of legal moves, and the value of the rules flag to determine the extent of a preset's rule enforcement, and it now displays this information below the board, just underneath the name of the game, which links to the rules page. It used to put this information above the board before a game began, and it didn't weigh in the value of the rules flag. It now displays it below the board during the course of a game. The rules flag can be set with the command "setflag rules;", typically in the pregame code. Setting this simply serves as a signal that the code you wrote actually does enforce the rules. It has no effect on the rest of your code, and it will not provide you with rule enforcement if you don't actually program it in.


HTTPS[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Tue, Aug 21, 2018 01:00 PM UTC:

I have now copied the play header and footer to new files, and I have rewritten the original play header and footer scripts to check the server name and to use the header and footer for the domain of the page. So, if it appears on the main domain, it will use the header and footer for the main domain. This will give me the opportunity to add features from the play header and footer that were included for Game Courier to the main header and footer.


Game Courier FAQ. Answers to various questions about Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Aug 20, 2018 09:41 PM UTC:

Another thing I did yesterday was enable Rocket Loader™ on Cloudflare. Once I disabled this, the problem stopped. So, I guess I will keep it disabled for now. I'll try it again when the changes I'm trying to make are finished.


🕸📝Fergus Duniho wrote on Mon, Aug 20, 2018 09:02 PM UTC:

I have also confirmed that it is being done by JavaScript. When I disabled JavaScript, it stopped.


🕸📝Fergus Duniho wrote on Mon, Aug 20, 2018 06:48 PM UTC:

Here is what I know so far. It is unrelated to using HTTPS. I have been having the same problem with http://www.chessvariants.com/play/pbm/play.php. It does not appear to be anything in the footer. I temporarily commented out the footer, and it still happened. I also temporarily commented out the header, and it still happened. Whether it happens seems to depend on which form shows up. It is skipping down the page for the View and Menu forms, though not for other forms I've tested. It is probably from some change I made yesterday while preparing to switch to HTTPS, though I'm not sure what could be doing this.


HTTPS[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, Aug 20, 2018 06:02 PM UTC:

That was successful. The first step is to comment out the 301 redirects of the play subdirectory to the play subdomain. That has worked, and the play subdirectory is now showing up. Before proceeding further, I need to test pages with the play subdirectory to see if this breaks anything.


🕸Fergus Duniho wrote on Mon, Aug 20, 2018 05:30 PM UTC:

But first a test. This is diagram designer diagram, linked to /play/pbm/drawdiagram.php?set=motif, which is a relative link to a subdirectory instead of the usual link to the subdomain. If this works, then I should expect that the image links to the subdomain will not break when I 301 redirect them to the subdirectory.


🕸Fergus Duniho wrote on Mon, Aug 20, 2018 05:15 PM UTC:

Having started on this, it seems to me that things would go more easily if all internal links were relative links. But having part of the site in a separate subdomain makes this impossible. Links between the main site and the subdomain have to be full links, and full links have to either HTTP or HTTPS. Relative links have the benefit of conforming to whatever the page being viewed is.

I looked into this further this morning, and the pages I read argued that putting everything on one domain is better for SEO. A subdomain is treated like a separate site, and it does not inherit the authority of the main site. Given that the main site and the subdomain are interrelated, sharing links and images, and that the main site has a good amount of authority that I would like the play part of the site to benefit from, I think it would be a good idea to replace the subdomain with a subdirectory. The subdomain is already physically located in a subdirectory, and 301 redirects could be used to direct subdomain links to the subdirectory.

Once that is done, I could make all internal links relative. This would get rid of the HTTPS links I started to add yesterday. And when all links are relative, it would be a lot easier to convert the whole site to HTTPS at once.


Game Courier FAQ. Answers to various questions about Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Aug 20, 2018 05:02 PM UTC:

I was noticing the same thing last night. I'm in the process of converting the site from HTTP to HTTPS, and it seems to be related to that, but I don't know what's happening. Notice whether this happens only when the page is an HTTPS one or whether it is also happening for HTTP pages.


HTTPS[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sun, Aug 19, 2018 05:05 PM UTC:

I was experimenting with Cloudflare's "Always use HTTPS" option, but some pages were having problems, because they were sending form data from an HTTPS page to an HTTP page. This site has an SSL certificate through Cloudflare, and I would like to switch over to using HTTPS, but I have to fix the forms before I can do this.

HTTPS offers more security than HTTP, it enables the use of HTML / 2, which will speed up the site, and it should improve the ranking of the site in the search engines. But there are lots of pages with lots of forms to fix before this is viable. There may also be some glitches along the way.


Sign in to the Chess Variant Pages. Sign in to the Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sat, Aug 18, 2018 10:41 PM UTC:

I wouldn't say there is anything strange about its absence. You are the first person who has ever said we should have this, and no such AI exists. At best, we have programs and scripts that have been created to play some games. Even Zillions-of-Games, which has more games available for it than any other program of its kind, can only play those games that have been programmed for it. There is no AI that can read rules written in English and play the game against someone. What this site is the home of is Game Courier, which lets you play Chess variants with other people by correspondence. It is as versatile as Zillions-of-Games with respect to the games that can be played with it, but it is only for correspondence games, not for playing against a computer.


Game Courier FAQ. Answers to various questions about Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Fri, Aug 17, 2018 11:19 PM UTC:

See /play/pbm/ratings.php


Game Courier History. History of the Chess Variants Game Courier PBM system.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Thu, Aug 16, 2018 11:06 PM UTC:

I have begun to replace buttons made with the INPUT tag with buttons made with the BUTTON tag. The BUTTON tag allows me to separate the display text from the form value, which allows the display text to be translated to another language without changing the value that will be passed by the form. I have already changed a few forms, and they are working correctly when translated.

I have also begun to add the notranslate class to some tags, so that translations do not mess up the data passed to the form, and so that coordinates display properly on translated pages.


🕸💡📝Fergus Duniho wrote on Thu, Aug 16, 2018 06:27 PM UTC:

Game Courier has now been modified to give an error message if it does not recognize the value of the Submit field when clicking on a form. This is because the use of Google Translate may change this value to something Game Courier does not recognize, and users should be notified of this error when it happens.


Game Courier FAQ. Answers to various questions about Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Aug 16, 2018 06:12 PM UTC:

After reviewing a video that Сергей Бугаевский sent me, it looks like the problem is that Google Translate is translating the page into Russian, this is changing the values of the buttons, and Game Courier is receiving values that it doesn't recognize. Looking at where it prints the value of $submit when the page loads, I see that it did indeed get translated into Russian. My recommendation for now is to click on buttons only in English.

A more long-term solution would be for me to localize Game Courier. A more short-term one would be to prevent translation or to give an error message when the value of $submit is not recognized.


🕸📝Fergus Duniho wrote on Wed, Aug 15, 2018 04:27 PM UTC:

I got some images from you through facebook, but only one was large enough to read, and that wasn't enough to diagnose the problem. A screencast, which is what I originally asked for, is not the same thing as a screenshot. A screencast is a movie of what you are doing on your computer screen. There are many programs that will do this. The software I use and recommend for this is FlashBack Express, which is the free alternative to FlashBack Pro. Of course, maybe there is a Russian program that I don't even know about that would be better for you to use.


🕸📝Fergus Duniho wrote on Tue, Aug 14, 2018 06:35 PM UTC:

The website addresses don't work well. It's best to use my Yahoo address.


🕸📝Fergus Duniho wrote on Tue, Aug 14, 2018 03:54 PM UTC:

Click on my name to get it.


🕸📝Fergus Duniho wrote on Tue, Aug 14, 2018 03:17 PM UTC:

It's very strange that you are getting errors like this. In each case, it says you are trying to move from an empty space, as though you have already made the move and are trying to make it again. Whenever I try to make the same moves, I don't have the same problem. Are you able to make a screencast of what you are doing and email it to me?


🕸📝Fergus Duniho wrote on Tue, Aug 14, 2018 01:21 PM UTC:

I copied the log to your game, changed the userids to some of my own, and made the same move you are trying to make without any problem. The one discrepency I see in the error message you are reporting is that it identifies the turn as 2 instead of 1. I don't know why it would say that, since this is the first turn of the game. I tried it again to see if there was any way of manually changing the turn number, and I didn't find any way to do that. See /play/pbm/play.php?game=Unicorn+Great+Chess&log=test-2018-221-028


Chess Cubed on SteamA game information page
. Chess on a Puzzle Cube with standard pieces and rotations.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Aug 14, 2018 12:41 PM UTC:

This is an incomplete project. Although the concept is interesting, the page linked to from this page does not include the rules for the game, and it does not include any means to play the game. It is too early to approve this link page.


Castle Siege Chess ZIP file. Byzantine Chess merged with 6x6 chess board.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Aug 13, 2018 10:26 PM UTC:

This is supposed to be a Zillions page, but it is missing the link to the Zillions file.


Game Courier FAQ. Answers to various questions about Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Aug 13, 2018 09:13 PM UTC:

It will be missing if you are already signed in. In that case, just click the Send button.


New Submissions for Review. A listing of all submissions still awaiting editorial approval.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Aug 13, 2018 08:57 PM UTC:

I added this page to the index in order to report some changes to it in a comment. Many submissions were getting lost, because this page would show only the last 90 days worth of submissions, as though this page were analogous to the What's New page. I changed it to display all past submissions that still haven't been approved, and they go back to 2005 and -1. Let's try to process this backlog of submissions and review new submissions in a more timely manner.


Game Courier FAQ. Answers to various questions about Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Mon, Aug 13, 2018 08:50 PM UTC:

In the image shown below, it is the field that says "Password:".


🕸📝Fergus Duniho wrote on Mon, Aug 13, 2018 08:24 PM UTC:

I tried making the same move in your game of Unicorn Great Chess, and it let me make it without saying the move was illegal. I only got as far as the preview, since I can't send a move in your name. Once you get to the preview, you have to enter your password and click the Send button.


98 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.