[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for November, 2024.
Check out Janggi (Korean Chess), our featured variant for November, 2024.
Hi Fergus
I don't know how to program in HTML (way rusty at any sort of programming, in fact). Is there an exact line(s) of code you could tell me where to insert? I'd very much hoped to avoid programming & testing a rule enforcing preset, at least for now, but if you think it's easy for a layman like me, I'll look at it.
P.S.: I made an additional preset called "Throne Chess (Rules Enforcing)". For now, pending further editorial review, I'll give it via a link in the Introduction, with it intended to be rules enforcing, pending necessary changes made to it. That's plus a 2nd link, to a non-rules enforcing preset called "Throne Chess" (with a setting of the same name), in case unforseen problems arise with the rules enforcing one, or users prefer having the choice of the 2 types of presets.
If you wish the titles of both the rules enforcing & non-rules enforcing presets to be each "Throne Chess", I naturally can piecewise cut & paste any rules enforcing program instructions already found within "Throne Chess (Rules Enforcing)" into yet a 3rd preset I made earlier called "Throne Chess" (my default setting one, i.e. it's not for either of the presets given via the 1st and 2nd links in the Introduction). That's assuming you like the idea of having both the rules & non-rules enforcing types of presets available for this variant.
P.P.S.: Without thoroughly reading Game Courier programming instructions, by trial & error I successfully entered about a dozen lines of code that seemed to get the Rules Enforcing preset for Throne Chess to work, as far as checking for Thronemate victory conditions. I tested it once, anyway, advancing the White king up the board to e8 as quickly as possible, from the setup position. I used the "Test" feature in the "Edit" mode of the preset to play this short test game vs. myself. I'm not sure if it's normal, but after the program declared that White has won by Thronemate, I was allowed to continue to enter moves in the Test mode. I'm pretty sure there's nothing I did wrong in telling the program code to end the game, normally, with the 'won' command.