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
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 Sun, Oct 3, 2021 01:23 PM UTC in reply to Daniel Zacharias from 04:42 AM:

I was looking for a global way to eliminate some PHP warnings, but that requirement proved to be too restrictive. So, I have removed it.

I then tried requiring minimal argument counts instead, but even that caused problems for unary, binary, and mixed unary/binary operators. But since they seemed to work with operators requiring 3 or more arguments, I left those minimal argument count requirements in.


Game Courier Settings Files. Keep track of all the settings files you have written for Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Fri, Oct 1, 2021 06:25 PM UTC in reply to A. M. DeWitt from Thu Sep 30 04:41 PM:

After thinking about it, I decided to cancel the renaming of Futashikana Shogi. Please delete both presets for Dai Shosu Shogi.

It looks like someone has taken care of this.


🕸📝Fergus Duniho wrote on Thu, Sep 30, 2021 04:28 PM UTC in reply to A. M. DeWitt from Wed Sep 29 02:54 PM:

I decided to rename Futashikana Shogi to Dai Shosu Shogi.

While it has apparently been done, or is in the process of being done, I would like to advise against renaming in general. When you release a game, it takes on a life of its own that may extend outside of this site. While I was working on the taginfo.php script today, I was testing it with the Ai Ai tag, and one line on the page was displaying as empty. When I tracked down what was causing this, it was the ItemID for Futashikana Shogi. Apparently, someone has programmed Futashikana Shogi for Ai Ai, where it remains known by that name and not by the name Dai Shosu Shogi.

Additionally, the name has been changed without updating the RelocatedPages table. This table should have a row added to it for each page whose URL and ItemID both change. It may be done by editing the table in PHPMyAdmin, which the main editors have the URL, userid and password for.

When the page gets rewritten, it should mention the original name and why the name was changed.


Yangsi. A very playable chess variant with 12 different pieces on a 10x10 board.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Sep 30, 2021 12:11 PM UTC in reply to A. M. DeWitt from 02:35 AM:

See the Ai Ai tag at the bottom of the page.


Game Courier Settings Files. Keep track of all the settings files you have written for Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Sep 29, 2021 09:22 PM UTC in reply to Ben Reiniger from 04:52 PM:

I'm open to feedback on how best to manage this sort of thing. One possibility is to create a new Item with the new name, we can move over the references in the database I've mentioned, and leave the old page with just a link forwarding to the new page (possibly even an automatic redirect, though I'm not sure if that'd work in a member submission view script).

The database has a RelocatedPages table. Just add an entry that includes its old URL and its new ItemID, and the 404 script will take care of the details.


Backups[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, Sep 27, 2021 09:06 PM UTC:

I now have a script set up that runs from the backup server to make daily backups of both the /home/chessvariants/public_html/ directory and the chessvariants database every midnight at Eastern Standard Time. The script looks like this, but with the actual database password. It doesn't need the server password, because it is using an SSH key pair to connect.

#1/bin/bash
mv /root/chessvariants.sql /root/chessvariant-backup.sql
ssh [email protected] mysqldump --opt --user=root --password=XXXXXX chessvariants > /root/chessvariants.sql
/usr/bin/rsync -ae ssh --delete [email protected]:/home/chessvariants/public_html/ /home/chessvariants/public_html/
touch /home/chessvariants/public_html/
mysql --password=XXXXXX chessvariants < /root/chessvariants.sql

Pandemonium (Surajang修羅場). Capablanca chess + Crazyhouse.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Sep 27, 2021 08:55 PM UTC in reply to Ben Reiniger from 08:39 PM:

Okay, I closed the A tags, and now the text is no longer red in regular mode, and it's no longer blue in Reader mode.


🕸Fergus Duniho wrote on Mon, Sep 27, 2021 05:35 PM UTC in reply to Daphne Snowmoon from 01:46 PM:

I fixed the problem by no longer enclosing each section in SECTION tags.


🕸Fergus Duniho wrote on Mon, Sep 27, 2021 01:52 PM UTC in reply to Daphne Snowmoon from 01:46 PM:

It might be. It looks like Safari's Reader mode makes inappropriate decisions about what to exclude. In another page I looked at, it showed the Pieces section but skipped the Rules section. My advice would be to not use its Reader mode on this site. It should be unnecessary anyway, since mobile pages here leave out sidebar ads.


🕸Fergus Duniho wrote on Mon, Sep 27, 2021 01:42 PM UTC in reply to Daphne Snowmoon from 06:33 AM:

On my iPad, Safari's Reader mode is skipping the whole Pieces section. Without Reader mode, things look fine in both Safari and Chrome. I also tried Firefox's Reader mode on my Likebook Mars. It did not skip the Pieces section, though it did mess up your ASCII diagram.


🕸Fergus Duniho wrote on Sun, Sep 26, 2021 08:29 PM UTC in reply to Daphne Snowmoon from 10:01 AM:

Try using only alphanumeric and punctuation characters found in ASCII in your file names. Korean letters may not be recognized by all software.


Comemnt search doesnt work[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sun, Sep 26, 2021 05:56 PM UTC in reply to Bn Em from Sat Sep 25 11:00 AM:

Are there any plans to restore this functionality?

I tried to yesterday and failed. I have not been able to get MariaDB 10 to work reliably on either server, HostSlayer or RackNerd. It used to work before I tried updating the HostSlayer VPS to Rocky Linux via updating to CentOS 8 first. So, maybe there is some setting that has to be corrected. For now, chessvariants.com runs on HostSlayer with CentOS 7, PHP 7, and MariaDB 5.5, while chessvariants.org runs on RackNerd with Rocky Linux 8, PHP 8, and MariaDB 10. Until I can get things working correctly on the new RackNerd VPS, I will continue to use MariaDB 5.5, and comment searching will remain disabled.


🕸Fergus Duniho wrote on Sun, Sep 26, 2021 01:25 AM UTC:

There appears to be some kind of corruption from the MariaDB 10 installation that is preventing a reinstallation of MariaDB 5.5 from working. When I check its status after reinstalling version 5.5, it says "Failed to start MariaDB 10.6.4 database server." I expect I will have to reinstall CentOS, but I don't want to get it started right now, because it is late. Unfortunately, the new VPS also seems to be having issues with MariaDB 10. It frequently loses connection with the MySQL server, and I have to refresh a page a few times before it connects.


🕸Fergus Duniho wrote on Sun, Sep 26, 2021 12:58 AM UTC:

Since I haven't gotten MariaDB to work on the original server, I switched the domains of the servers. However, there are still things to fix, and I still have to deal with the original server.


🕸Fergus Duniho wrote on Sat, Sep 25, 2021 06:37 PM UTC:

My attempt to update chessvariants.com to MariaDB 10 has not been successful, and I have been unable to revert to MariaDB 5.5 without errors. So, chessvariants.com is currently without a working database. At least I made a backup and copied it to chessvariants.org. If the problem on chessvariants.com continues, I might not continue with HostSlayer. As long as I have things backed up on RackNerd, I may try reinstalling the OS on HostSlayer. But for now, I have floaters in my eyes, and I need to have lunch.


Backups[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Sep 25, 2021 01:05 PM UTC in reply to Fergus Duniho from 02:50 AM:

The touch command was used on the new server's /home/chessvariants/public_html/ directory at 12:00:14 AM EST. So, the automated daily backup worked when it was expected to. I'll look into including a backup of the database into the same script today. But since there are some different files in the folders for the database on each server, I want to fix that by making them both use the same version of MariaDB.


Comemnt search doesnt work[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Sep 25, 2021 12:33 PM UTC in reply to Bn Em from 11:00 AM:

It depends on a feature of MariaDB 10, but when I restored the server earlier this year, MariaDB 10 was frequently losing the connection to the database, and MariaDB 5 proved more reliable. So, I switched to MariaDB 5 and manually removed the details that required 10. On the new server, I have installed Rocky Linux 8, PHP 8, and MariaDB 10. Since it also has reverse DNS, which should make email more likely to be delivered, I have plans to make it the main server when everything is working correctly on it. For now, I have to update scripts to work with PHP 8. The new server has less storage space, but it has more than enough for the site. It has less RAM, but this server usually doesn't use even half the available RAM. Both sites have 4 cores, and the new VPS uses faster CPUs. Although the new server is on chessvariants.org, it will not support comment search until I add support for this back into the database. To start with, I will look into updating to MariaDB 10 on this server.


Backups[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sat, Sep 25, 2021 02:50 AM UTC:

I have set up some cron jobs to do backups with rsync. On this server, rsync will create hourly, daily, weekly, monthly, and annual backups. These are in case it's important to revert a change to a script or page. Editors with access to the server can find these in /home/chessvariants/backups/.

The new server has a cron job to make a daily backup of the public_html directory on this server. I set up an SSH key pair to allow it to do this without a password. This will copy the /public_html/ for chessvariants.com to that for chessvariants.org. This is expected to happen at midnight EST. To be sure of what time it does it, I'll check the timestamp on the /public_html/ directory tomorrow, since I also made the script use the touch command on it when it is done updating. I still have not added commands for backing up the database. It will be important to do both together to keep their backups in sync.


@ Fergus Duniho[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Sep 24, 2021 06:46 PM UTC:

Testing whether posting here meets same error as posting on new server.


Apothecary Chess Tournament[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Sep 23, 2021 05:39 PM UTC in reply to Aurelian Florea from 10:03 AM:

I made a test copy of one of these games, and I successfully moved in it. If Oisin had around two days left, that's consistent with him having less than a day now, because the site has been back online for a few days already. Tell him to move before his time runs out.


McCooey's Hexagonal Chess. Chess on a board, made out of hexes. (Recognized!)[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Sep 23, 2021 02:45 PM UTC in reply to Kevin Pacey from 02:25 AM:

My opponent sent an email to me saying he cannot move in the following log:

https://www.chessvariants.com/play/pbm/play.php?game=McCooey%27s+Hexagonal+Chess&log=panther-tim_olena-2021-204-636

He's in check and has few legal moves. Also, the ASCII diagram he is using will not display legal moves or allow moving with the mouse. I was able to get as far as previewing a move after changing the rendering method. Not being him, I couldn't go any further.

UPDATE: Upon further testing, I found no problem with being able to move. I created a test log that just changed userids, and I successfully moved. Since the log had no time controls, the time the site spent offline had no effect on anything.


Apothecary Chess Tournament[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Thu, Sep 23, 2021 02:39 PM UTC in reply to Aurelian Florea from 10:03 AM:

I still see time on the clocks, and I already gave additional time to all interrupted timed games. I'll do some testing later if he still hasn't moved.


Server crash[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Wed, Sep 22, 2021 09:45 PM UTC:

I have made additional changes to the following scripts on both servers:

  • footer.php
  • index/database-funcs.php
  • index/drawemail.php
  • index/editcomment.php
  • index/listcomments.php
  • index/login-funcs.php
  • index/randgame.php
  • play/pbm/drawdiagram.php
  • play/pbm/logs.php
  • play/pbm/play.php

🕸Fergus Duniho wrote on Wed, Sep 22, 2021 06:35 PM UTC:

The new server is running PHP 8. So, I have updated some scripts over there to work with PHP 8, and I have copied the updated versions to the main server. These include the following:

  • 404.php
  • footer.php
  • ads/adlocale.php
  • index/commentsinc.php
  • index/database-funcs.php
  • index/displayusersubmission.php
  • index/fpd-indexing-funcs.php
  • login/header.php
  • play/pbm/play.php

One change is that {curly brackets} may no longer be used to specify characters within a string. [Square brackets] must be used instead, as they are already used for array elements. The other is that parentheses must now be used to specify the order of evaluation for nested ?: statements.

I will check more pages later to see if any more scripts need updating.


🕸Fergus Duniho wrote on Tue, Sep 21, 2021 12:49 PM UTC in reply to dax00 from 11:18 AM:

I can't access my game that was interrupted. I hope that timed-out games (due to the site being down) will be playable soon.

It appears that the problem with your game affects only Chu Shogi, and it has nothing to do with the game being interrupted, as I encountered the same problem when I tried to simply move pieces in Chu Shogi. What happens is that the page stops displaying partway through the menu, and it doesn't give me any clear indication of what is wrong. It looks like this is going to be a problem for Adam DeWitt to solve, as it stems from his chu settings file.


🕸Fergus Duniho wrote on Mon, Sep 20, 2021 10:28 PM UTC in reply to H. G. Muller from 08:32 PM:

Please back it up ASAP!

I copied a backup of the files and the database to the backup server. When I extracted the tar file, it overwrote the .htaccess file, which caused chessvariants.org to go to chessvariants.com. I will have to rewrite the .htaccess file so that the same file can work properly on both servers. Then I'll be able to test that the database and pages are working correctly over there.


🕸Fergus Duniho wrote on Mon, Sep 20, 2021 09:09 PM UTC in reply to H. G. Muller from 08:32 PM:

The server never crashed. I was simply unable to boot it back up after attempting a reboot. For those who don't know, this is because the host's website was down, which left me without the ability to access the control panel for the VPS. The host is now back online, and I now have a second VPS with a different company, which has been assigned to the chessvariants.org domain. I will now work on backing up my websites to the other server.


Grand Apothecary Chess-Classic. Very large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Sep 2, 2021 04:31 PM UTC in reply to H. G. Muller from 07:13 AM:

the idea behind the Play-Test Applet is that it would make things as easy as riding a bicycle, where otherwise they are as complex as assembling your own car from parts, and learning how to drive it.

That's not quite correct. The alternative to using the Play-Test Applet will often just involve copying a preset that already works, writing FEN code for the board, assigning piece labels and notation to the correct pieces, and saving. As long as a game uses pieces already programmed in the fairychess include file, has a fixed setup, and mainly follows the rules of Chess, it should be easy enough to create a programmed preset for it without knowing how to program.


🕸Fergus Duniho wrote on Wed, Sep 1, 2021 02:14 PM UTC in reply to Aurelian Florea from 12:08 PM:

The labels w and W are using paths that do not exist. The value for $dir should be an absolute relative path, not one whose value depends on another path value already being set. The value "/graphics.dir/alfaerie/" specifies a specific directory, but "../graphics.dir/alfaerie/" does not, or it specifies the wrong one, such as "/play/graphics.dir/alfaerie/". While "../" should not be used in $dir, it may be used in the location of a specific piece, because this will be relative to the absolute value in $dir. For example, w may be "../alfaeriemisc/compounds/%zebrawazir.gif".


Zillions of Games. It can play an endless variety of abstract board games, and we have a large collection of Chess variants you can play on it.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Tue, Aug 31, 2021 08:46 PM UTC in reply to Robert Mate from 04:48 PM:

I haven't used it that way since I had Windows 95. When I did, I arranged with another person regarding the time and game we would play together, and I believe I was in communication with him while setting up the connection for Zillions-of-Games. But I do not remember the steps we went through to do that. Also, back then, I had a dial-up internet account. I now have broadband, which works differently, and I don't know if that will make a difference.


Grand Apothecary Chess-Classic. Very large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Aug 30, 2021 08:31 PM UTC in reply to Jean-Louis Cazaux from 11:37 AM:

I'm quite interested by this possibility as I understand that this is a way to get rid of the creation of new sets.

It doesn't get rid of the creation of new sets. It just changes how you make them. Instead of writing a PHP file and having it put in the /play/pbm/sets/ directory, you can create a set using the GAME Code language.

However, I'm not very skilled in coding, I mean less than you all, and I don't understand everything. Is there any example in some files?

The only example is in comment 42275 on the Developer's Guide page. But this is an example of creating five different sets that each have only the standard Chess pieces in them. If you understand how it works, then you may be able to adapt it to create a set for a specific game. However, I might need to add some details to it to handle pieces that do not match up with pieces already in the set it is loading before running GAME Code.

Instead of creating a new set from scratch, you may prefer to work with an existing set that happens to include everything you need, then use the update-piece-set subroutine to define a new set in terms of it.


🕸Fergus Duniho wrote on Mon, Aug 30, 2021 07:57 PM UTC in reply to Jean-Louis Cazaux from 07:35 PM:

I don't understand what means "the available includes files" ?

An include file is a file containing programming code that is available for including in larger programs. The purpose behind this is to avoid rewriting code for different programs. Instead of writing each program from scratch, you can include include files to handle things that someone has already written code for. When writing GAME Code, you can use the include command to include the code in a particular include file. These are written as text files and have the .txt extension, which is the default extension for text files. But they are normally included without including the extension in the file name. The include files I have written are all in the /play/pbm/includes/ directory. To include one with the include command, just give its base name, which is the part before the .txt extension. H. G. Muller has written some include files in a different location, and these, I believe, are included by giving its full path and file name.


🕸Fergus Duniho wrote on Sun, Aug 29, 2021 10:18 PM UTC in reply to H. G. Muller from 08:48 PM:

Where can I find this include file?

It's in the includes directory. So, you just include it by name.

BTW, I did stumble on the method for defining a piece set through assigning to $pieces. Perhaps this is the best method to convert Interactive Diagrams to GAME code, as these Diagrams do specify the filenames of the piece images, the directory where these images are to be found, and the piece IDs (which can be used as labels). So it would just be a matter of dumping this internally held info in the form of a GAME-code associative array, in the code generated for the Pre-Game section.

Yes, that could work, though there is one caveat. When Game Courier is in Edit mode, it does not run any code unless someone clicks Run. This is a safety precaution to allow someone to edit buggy code that would otherwise disable the preset. Consequently, the board may not look right in Edit mode until someone clicks Run. If you use a set file in conjunction with the update-piece-set subroutine, though, it will avoid that problem. However, there could be a discrepancy between the labels used for the FEN code and the notation used in the preset.

To avoid that discrepancy, I was thinking of letting custom piece sets be stored as constants. However, constants are stored in logs, not in settings files. So, I'm not sure I have a good solution for this yet.


🕸Fergus Duniho wrote on Sun, Aug 29, 2021 06:31 PM UTC in reply to H. G. Muller from 03:46 PM:

I think the unexpected result is due to a space missing between * and 2 in the .dog definition.

Yes, when I corrected that, .dog gave me the correct result.

If I understood the 'new method' correctly, it would require help of an editor to define a new piece set in a PHP file.

No, the new method was provided to eliminate the need to make new set files. I have now written a subroutine that will do the job once you feed it the data. It is in the include file update-piece-set, and the subroutine is called update-piece-set. Just feed it the notation you will use. To make preparation of data easier, you may feed it all the data it needs in a single array. Each array element should be a single piece label or an array including the piece label first and the new notation second. Where a piece label is by itself, it will reuse the same label for the same piece. Where it comes paired with new notation, it will use the new notation for the piece and discard the old piece label.

This method allows the designer to write the FEN code using the original labels, but within the code, it will change the piece labels to the desired notation, and it will strip the $pieces array of all pieces not being used.

You may get data on what notation to use from the user. For each piece, just include an extra field on what notation to use for the piece. When it's left empty, use the original piece label.


🕸Fergus Duniho wrote on Sun, Aug 29, 2021 03:22 PM UTC in reply to H. G. Muller from Sat Aug 28 05:36 PM:

@Fergus: can there be a problem with functions that have a name starting with a period?

It would appear so. I ran this code to test this:

def cat * 2 #0;
def .dog *2 #0;
set p fn cat 8;
set q fn .dog 8;
dump;

And the result I got was this:

array(1) {
  [0]=>
  array(1) {
    ["main"]=>
    array(2) {
      ["p"]=>
      int(16)
      ["q"]=>
      array(2) {
        [0]=>
        string(1) "8"
        [1]=>
        string(2) "*2"
      }
    }
  }
}

This may be because GAME Code uses the period to separate array elements from arrays. I would recommend using aliases (old way) or rewriting the $piece array (new way) to avoid the need for writing functions with names that start with a period.


Folding Magnetic Chess. fold between D&E files, play on both sides.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sat, Aug 28, 2021 06:05 PM UTC:

I did not invent this variant, but I don't see the "submit a variant you've heard of but can't find on this website" button.

I have corrected that. You are no longer listed as the inventor, and I deleted the "but ..." part from the page, since it was mainly a note to the editors.


🕸Fergus Duniho wrote on Sat, Aug 28, 2021 06:01 PM UTC:

I added a photograph, edited some text, and approved this page. Although my magnetic set folds the wrong way for this game, I put the board on its side, placed the pieces on in reverse along the side files, and reversed the image, so that everything looks correct for this game. I'm not sure this game truly counts as a 3D game, because it does not have a third dimension of movement. Instead, it is a flat surface wrapped around a 3D object, such that there are connections between spaces on the edges that don't normally exist in Chess.


MSimperium-2[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sat, Aug 28, 2021 04:09 PM UTC in reply to Jean-Louis Cazaux from 06:35 AM:

I don't see the page, only these lines:

Any members can see unpublished pages when they're logged in. I expect you were not logged in yet.

(later on, I will try to draw a diagram)

So we're still waiting for a diagram. Okay.


MSsej[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 10:40 PM UTC in reply to Simon Jepps from 08:48 PM:

They are just decorative bullet points.

If you mean to use bullet points, you should use the UL and LI tags. Also, it's not clear to me why these particular paragraphs would be bulleted.


MSall-piece-drops-chess[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 06:43 PM UTC:

The external images on this page are all broken. Be sure to use only locally-hosted graphics for your page.


MSimperium-2[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 06:23 PM UTC:

Can anyone read this? I think it's in Spanish.


MSakb48-team-8-shogi-variant[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 06:21 PM UTC:

Why is this game named after a J-Pop group?


The Starbound Sliders. A Chess With Different Armies team featuring rook-inspired sliders.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 06:18 PM UTC:

Why are there numbers on the setup diagram?


vis-a-vis chess. Missing description[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 06:15 PM UTC:

I modified the formatting of the rules and removed the redundant text, but I do not understand this game. Rapprochement is not a common everyday word, and even after looking it up, it doesn't help me understand the object of this game.


Chess vs Strong Makruk. Chess against an enhanced Makruk army in an 8x8 board.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 06:07 PM UTC:

I made the description of the Nobleman clearer for someone who cannot see or follow the link, and then I approved this page.


E-Chess. The chess pieces appear on the board during the game.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 05:47 PM UTC:

I revised the wording of the rules a bit and approved this page.


Battle of the Kings. You start with eight pawns. The rest chess pieces appear on the board during the game.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 05:36 PM UTC:

I replaced the setup diagram with a local one and approved this page. This game uses reproduction in an interesting way.


MSdouble-king-chess-960[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 05:23 PM UTC:

This could use some more detail, particularly regarding its connection with Fischer Random Chess, a.k.a. Chess 960. There are more than 960 possible positions, but there are only 960 that are possible by the rules in Fischer Random Chess for selecting the position.


High Chess. Drawn games are instead won by the player whose King is closest to the centre.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 05:18 PM UTC:

Published.


MSgrand-shogun-cavalier-chess[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 27, 2021 05:00 PM UTC:

I'm still waiting for changes to be made to this page, as indicated in my previous comment.


Folding Magnetic Chess. fold between D&E files, play on both sides.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Aug 26, 2021 09:52 PM UTC:

I wanted to take a photograph of this, but my folding magnetic set folds between the fourth and fifth ranks. So, all the spaces would be the wrong color. Does anyone have a magnetic set of the sort used in this game? And would you be willing to take a photograph of it with the pieces in place?


MSsej[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Aug 26, 2021 09:38 PM UTC:

I don't understand the use of ≽ and ≅ on this page.


Two Move Chess. Designed to alleviate the first move advantage for White using double moves, while retaining the tactics of international chess.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Aug 26, 2021 07:32 PM UTC:

I modified the rule regarding notation, because the rules of a game cannot specify the notation to such detail unless they are for a specific tournament or something like that. Some games are recorded with different kinds of notation, and software like Game Courier or Zillions-of-Games will use their own style of notation for all games.

I unhid this page, but I did not examine the notes section in detail.


Dou Shou Qi: The Battle of Animals - The Jungle Game. Simulated conflict between animal kingdoms. (7x9, Cells: 63) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Aug 25, 2021 10:43 PM UTC:

I have removed the See Also section, because the links are in the Related menu.


🕸Fergus Duniho wrote on Wed, Aug 25, 2021 10:23 PM UTC in reply to Jean-Louis Cazaux from 01:22 PM:

Since what you sent me was not an HTML page with images embedded into it, I mixed what you had written in with what Hans had written, and I included selected photographs. I broke up the image of pieces into individual pieces so that it would flow better. I commented out most of what Hans wrote but left it on the page so that I can later check whether any of it should be included.


🕸Fergus Duniho wrote on Tue, Aug 24, 2021 09:44 PM UTC in reply to Jean-Louis Cazaux from 08:45 PM:

I don't see it, and I may not have that address anymore. Please go to my profile and use the address provided there.


Grand Apothecary Chess-Alert. (Updated!) Very large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Aug 24, 2021 04:49 PM UTC in reply to H. G. Muller from 02:00 PM:

I just updated explode to work with an empty separator, and I wrote and tested this function:

def nolowercase allfalse lambda (islower #0) explode "" #0;

🕸Fergus Duniho wrote on Tue, Aug 24, 2021 04:15 PM UTC in reply to H. G. Muller from 02:00 PM:

would it be possible to have GAME code support operators nolower and noupper, as analogs to isupper and islower?

No, those are already in use for returning arrays of spaces. Also, PHP doesn't have a ctype function for what you want.

E.g. nolower would return true if its string argument would not contain any lower case characters, i.e. if it is all upper case, digits or punctuation.

With #0 standing in for the space with the piece in question, try using match #0 nolower. This will check whether it's among the spaces whose pieces have no lowercase letters in them. Or with #0 as the piece label, you could try not fnmatch "*[a-z]*" space #0. This checks it against a wildcard pattern for containing any lowercase ASCII characters, then negates the result.


🕸Fergus Duniho wrote on Tue, Aug 24, 2021 12:15 PM UTC in reply to H. G. Muller from 08:36 AM:

Perhaps Fergus can tell if there are alternatives to islower and isupper that ignore non-alphabetic characters, (or judge only the first letter in the string), and thus can be used to reliably recognize color in an environment of names that contain digits / punctuation. My first thought would of course be to outlaw such piece names in the fist place: it seems totally silly to allow such names. There doesn't seem any need for it.

My recommendation is to change the piece labels, which I have previously documented how to do. This would require extra programming, though, which could defeat the purpose of having all the code generated for you. Perhaps code for changing piece labels could be automatically generated with the other code. This would require you to enter both the original piece label and the notation you want to use for the piece. See recent comments to the Developer's Guide for details on what kind of code is needed to do this.


🕸Fergus Duniho wrote on Mon, Aug 23, 2021 10:19 PM UTC in reply to Aurelian Florea from 01:26 PM:

I am not familiar with how these automatically generated presets work. It looks like it might be trying to emulate logical directions without using the built-in support for logical directions. I cannot tell what piece the Mortar is or how it moves from this code.


Dou Shou Qi: The Battle of Animals - The Jungle Game. Simulated conflict between animal kingdoms. (7x9, Cells: 63) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 20, 2021 09:13 PM UTC:

I corrected the name and removed some dead links. This page would benefit from an update. If you're interested in providing a better page with better and more detailed graphics, you're welcome to.


🕸Fergus Duniho wrote on Fri, Aug 20, 2021 08:48 PM UTC:

It appears this game is not on Richard's PBM server by any name provided. So, I removed that link.


Two Move Chess. Designed to alleviate the first move advantage for White using double moves, while retaining the tactics of international chess.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Aug 19, 2021 07:32 PM UTC:

I have now updated the ItemID and the game's name in the database.


🕸Fergus Duniho wrote on Thu, Aug 19, 2021 03:22 PM UTC in reply to Joe Joyce from 12:23 AM:

Patience. I will get to changing the name.


Global Chess. A chess game played on a board composed of two rotating disks. (2x(), Cells: 64) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Aug 16, 2021 12:23 PM UTC in reply to Fergus Duniho from Sat Aug 7 09:14 PM:

Now that I have bought a set off of ebay, I have a better understanding of the rules. I was wrong about the last two points I made in my previous comment. The only discernible difference from Chess on the Dot is the castling rule. I have now described both games together on the Spherical Chess page.


The birth of 3 new variants - part 2 : Grand Apothecary Chess Modern[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Sun, Aug 15, 2021 12:11 PM UTC in reply to H. G. Muller from 09:32 AM:

In the routine below the variable 'sqr' stays 0 for all iterations. Only when I deleted the comma ("for (sqr piece) $space;") it runs through the square labels. Yet the GAME code manual suggest a comma should be present.

The Developer's Guide was wrong. I have corrected it. It uses spaces as separators, and when I used a comma, it added the comma to the variable name, so that this code worked:

foreach (key, var) spaces:
  echo #key, #var;
next;

But this code did not:

foreach (key, var) spaces:
  echo #key #var;
next;

(And thanks for fixing the dash problem; I would never have found that.)

It's important to remember that it was a minus sign, not a dash. When you use the # prefix before a variable name, it rewrites your code by replacing your variable with its value. Because it rewrote your code with a minus sign, your line of code was now trying to do subtraction. This threw a monkey wrench into your code in a way that a mere dash – which would be a meaningless string that was wider than a minus sign – would not have. Inserting the value of variables in this way is mainly intended for using variables with commands that do not process expressions (at all or for a certain argument). Within expressions, it is usually safer to use the var operator, which simply returns the variable value without rewriting your code. I believe functions are now an exception to this, since the following code prints 13, not 17:

set a 8;
def test + 9 #a;
set a 4;
print fn test;

🕸Fergus Duniho wrote on Sat, Aug 14, 2021 11:32 PM UTC in reply to H. G. Muller from 08:20 PM:

Here is the fixed subroutine:

sub GetSquares toshuffle:
  my sqr piece;
  // determine the squares the pieces in the given set are on.
  // the result is left in 3 global arrays:
  set left array;  // on left board half
  set light array; // as well as sorted by shade
  set dark array;
printr $space;
  for (sqr, piece) $space:
print . iter . #piece #sqr;
    if match var piece #toshuffle:
      if < * 2 file #sqr lastfile:  // left half
        push left #sqr;
      endif;
      if == color #sqr 1: // distinguish by shade
        push dark #sqr;
      else:
        push light #sqr;
      endif;
    endif;
  next;
print "got it";
endsub;

The actual fix was changing #piece to var piece in the conditional if match var piece #toshuffle:. There are subtle differences between these two ways of getting the values of variables. The way you were doing it embedded it into the line during pre-processing, and the problem with doing that was that its first value was -, which is also an operator. Changing it to var piece made sure that it treated the value as a string at the proper time and not as the minus operator.

I changed another line to use the color operator, because this might be a better way of doing what you want. This returns the color index associated with the space. Looking at the color values, I figured that the number 1 was being used for the dark squares.


🕸Fergus Duniho wrote on Sat, Aug 14, 2021 08:00 PM UTC in reply to H. G. Muller from 06:49 PM:

This routine is in the shuffle.txt file included in the preset Aurelian posted the link to 5 postings ago in this subject thread.

When I clicked on that, I saw a listing of all the spaces. So, I presume it is working.

Once you have shuffled the pieces, are you storing the results of the shuffling in a constant for later reuse?


🕸Fergus Duniho wrote on Sat, Aug 14, 2021 06:30 PM UTC in reply to H. G. Muller from 02:44 PM:

When I tried it by itself, it did loop through the board. Perhaps something in the outer context is affecting your code.


Two Move Chess. Designed to alleviate the first move advantage for White using double moves, while retaining the tactics of international chess.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Fri, Aug 13, 2021 01:17 AM UTC in reply to Ted Larson Freeman from Thu Aug 12 05:05 AM:

I am still pondering the question of the name. If I change the name, will the URL change? And if so, would we lose these most excellent comments?

The URL will change, but I can manually update the database to keep the comments with the page.


🕸Fergus Duniho wrote on Wed, Aug 11, 2021 11:38 PM UTC in reply to Ted Larson Freeman from 08:35 PM:

By rule #1, each move of a two-move turn must be individually legal for the position on the board at that moment--it does not matter whether a second move could remove any checks caused by the first move. So if there is no legal first move, it is stalemate.

I think you're saying that the first interpretation is incorrect. If there is no legal first move, it is stalemate.

Would this wording be more clear?

The game ends in stalemate if at the start of his turn a player is not in check and cannot complete either a legal two move turn or a legal single move turn.

No, it just applies De Morgan's theorem to what you originally wrote, leaving the original ambiguity intact. Since the third interpretation could be put succinctly and unambiguously as "The game ends in stalemate if at the start of his turn a player is not in check and has no legal first move," I think you favor the second interpretation, which I think is more clear when worded like this:

The game ends in stalemate if at the start of his turn a player is not in check and either has no legal move or, if he does have a legal move, cannot complete a second legal move after the first.

It seems that you favor the second interpretation, which is that the player must be able to make two legal moves to avoid stalemate. However, what if the first move is one that would normally prohibit a second move, such as a check, a promotion, a capture, or a double Pawn move subject to en passant? Would it still be checkmate in that case?


🕸Fergus Duniho wrote on Wed, Aug 11, 2021 06:31 PM UTC:

The game ends in stalemate if at the start of his turn a player is not in check and has no available legal two move turns and no available legal single move turns.

I'm not sure how to interpret the part I put in boldface. Which of these do you mean?

  1. If a legal first move is not available, but a second move could remove any checks caused by the first move, it is not stalemate.

  2. If there is a legal first move, but it cannot be followed by a legal second move, it is stalemate.

  3. If a player cannot make a legal first move, it is stalemate.


🕸Fergus Duniho wrote on Wed, Aug 11, 2021 06:17 PM UTC in reply to Ted Larson Freeman from 07:22 AM:

I think it's a bit too late to start using the name Chess2. There are already numerous Chess variants, and you wouldn't be the first or even second person to use the name. Pritchard mentions a Chess Too and a couple Chess IIs, and there is a commercial game described on this site that was called Chess 2 - The Sequel.


Possible bug in Grand Cavalier Chess[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Wed, Aug 11, 2021 05:55 PM UTC in reply to wdtr2 from 10:29 AM:

It's not so much that there is a bug here but that this preset was written before I gave Game Courier the ability to move pieces by clicking with the mouse. So, I did not program it to handle partial moves. As long as you enter the whole move at once, which will require some typing, it will allow the promotion. I will eventually get around to updating this preset or replacing it with a new one.


Cylindrical Chess. Sides of the board are supposed to be connected.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Wed, Aug 11, 2021 05:33 PM UTC:

I updated this page with new presets that use logical directions. I made these in preparation for making presets for spherical variants. The links to the old presets are still provided, as they will help illustrate the difference between using mathematical directions and using logical directions. While I was at it, I made improvements to the code for displaying circular boards. The files are now more naturally oriented, there are now rank markings on the board, and the image map better matches how the board is drawn.


Betza notation (extended). The powerful XBetza extension to Betza's funny notation.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Tue, Aug 10, 2021 04:24 PM UTC in reply to Greg Strong from 04:19 PM:

That would give new meaning to the name xBetza.


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 Mon, Aug 9, 2021 04:58 PM UTC:

Contrary to what was documented, the rlink command was not available. Maybe I accidentally used Ctrl-z too many times. So, I added it back in. I also fixed a bug in link that stopped it from working after the first pair.

I expanded the power of the map command. It was previously useful only for creating logical directions from leaps defined in terms of ranks and files. This limited it to the directions available on a simple grid. To make it easier to create directions for boards with unusual geometries, it can now be used with previously created logical directions. In the Cylindrical Chess preset I'm working on, I used link and rlink to add connections between the a and h files for east and west, and then I used map to define the diagonal and hippogonal directions without handwriting them link by link. The code looks like this:

map n 0 1 s 0 -1 w -1 0 e 1 0; // Orthogonal directions
link w (a1 h1) (a2 h2) (a3 h3) (a4 h4) (a5 h5) (a6 h6) (a7 h7) (a8 h8);
rlink e (a1 h1) (a2 h2) (a3 h3) (a4 h4) (a5 h5) (a6 h6) (a7 h7) (a8 h8);
map nw (n w) ne (n e) sw (s w) se (s e);
map nne (n ne) nnw (n nw) sse (s se) ssw (s sw);
map nee (ne e) nww (nw w) sww (sw w) see (se e);

Possible bug in Grand Cavalier Chess[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Mon, Aug 9, 2021 02:15 AM UTC in reply to wdtr2 from Sun Aug 8 08:50 PM:

Here is the relevant rule:

When there are no captured pieces a Cavalier may promote to, it may not move to the last rank, though it may still check the Eques Rex on the last rank.

Is there a violation of this rule?


Sign in to the Chess Variant Pages. Sign in to the Chess Variant Pages.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sun, Aug 8, 2021 12:38 AM UTC in reply to Deep Thought from Sat Aug 7 04:45 AM:

The link was using the PersonID as the value for userid. I changed it to use the UserID, and now it seems to work correctly.


Global Chess. A chess game played on a board composed of two rotating disks. (2x(), Cells: 64) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sat, Aug 7, 2021 09:14 PM UTC:

Many of the archived pages are lacking graphics. I will provide links to pages with complete graphics:

I could not find complete graphics for the other pieces. The Bishop page has one graphic image, but it does show an important difference from the Bishop in Chess on the Dot. When passing through a pole, a Bishop may continue its move in either direction, whereas in Chess on the Dot, it must continue its move in the same direction it was going before. The text on the Queen indicates that it moves as a Rook or a Bishop and has the same ability as the Bishop to move diagonally in either direction after passing over a pole. The text on the Pawn page does not indicate anything unusual. It moves as it does in other Spherical Chess variants.

Based on what I could glean of the rules from archived copies of the website, Global Chess is mostly like Chess on the Dot but has a few differences:

  1. Only normal castling is available. If, for example, the white King has a clear path to the a1 Rook in either direction, it can castle by moving to c1 but not by moving to g1. Whereas Chess on the Dot would also allow castling by moving to g1.
  2. The Bishop in Global Chess is more powerful, because it can go in either direction after passing over the pole, whereas the Bishop in Chess on the Dot may only continue in its original direction.
  3. The Knight has only six moves when near the pole, as it does in Miller's Spherical Chess. The extra two moves available in Chess on the Dot (and also in Nadvorney's version) are not shown in the diagrams for the Knight.

🕸Fergus Duniho wrote on Sat, Aug 7, 2021 07:37 PM UTC in reply to Fergus Duniho from 06:13 PM:

It looks like the ZRF got the King's movement wrong. According to this archived page on the King, the King moves the same as it does in Chess on the Dot, which gives it only six moves near the pole, and it can castle.


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 7, 2021 06:18 PM UTC in reply to Deep Thought from 04:45 AM:

I get the same thing when I click the "change password" link on my profile page. There must be a bug in the script.


Global Chess. A chess game played on a board composed of two rotating disks. (2x(), Cells: 64) [All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Sat, Aug 7, 2021 06:13 PM UTC:

I have been testing the ZRF, which I got on the Zillions-of-Games website here:

https://zillions-of-games.com/cgi-bin/zilligames/submissions.cgi?do=show;id=450

It looks like the following may be true:

  • The Rook moves as it does in other spherical variants, such as Miller's, Nadvorney's, and Chou's Chess on the Dot.
  • The Knight moves as it does in Nadvorney's Spherical Chess, which is the same as it moves in Chess on the Dot.
  • The Bishop moves as it does in Chao's Chess on the Dot, though there are some details I'm not sure about yet.
  • The Queen moves as a Rook or a Bishop.
  • In addition to moving one space as a Queen, a King near a pole can make two moves that are unavailable to Rooks, Bishops, and Queens. It can move to the space on either side of the one directly opposite it across the pole.
  • There is no castling.

Chess vs Strong Makruk. Chess against an enhanced Makruk army in an 8x8 board.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Aug 5, 2021 01:51 AM UTC:

Although this is called Chess vs Strong Makruk, all it describes is Strong Makruk.


Amazonia. 11x11 board with Pawns that promote to Princesses in the middle of the board.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Thu, Aug 5, 2021 01:48 AM UTC:

Okay, I unhid this page.


85 comments displayed

LatestLater Reverse Order EarlierEarliest

Permalink to the exact comments currently displayed.