Check out Omega Chess, our featured variant for September, 2024.

Enter Your Reply

The Comment You're Replying To
Kevin Pacey wrote on Wed, Dec 7, 2016 07:53 PM UTC:

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.


Edit Form

Comment on the page Throne Chess

Conduct Guidelines
This is a Chess variants website, not a general forum.
Please limit your comments to Chess variants or the operation of this site.
Keep this website a safe space for Chess variant hobbyists of all stripes.
Because we want people to feel comfortable here no matter what their political or religious beliefs might be, we ask you to avoid discussing politics, religion, or other controversial subjects here. No matter how passionately you feel about any of these subjects, just take it someplace else.
Avoid Inflammatory Comments
If you are feeling anger, keep it to yourself until you calm down. Avoid insulting, blaming, or attacking someone you are angry with. Focus criticisms on ideas rather than people, and understand that criticisms of your ideas are not personal attacks and do not justify an inflammatory response.
Quick Markdown Guide

By default, new comments may be entered as Markdown, simple markup syntax designed to be readable and not look like markup. Comments stored as Markdown will be converted to HTML by Parsedown before displaying them. This follows the Github Flavored Markdown Spec with support for Markdown Extra. For a good overview of Markdown in general, check out the Markdown Guide. Here is a quick comparison of some commonly used Markdown with the rendered result:

Top level header: <H1>

Block quote

Second paragraph in block quote

First Paragraph of response. Italics, bold, and bold italics.

Second Paragraph after blank line. Here is some HTML code mixed in with the Markdown, and here is the same <U>HTML code</U> enclosed by backticks.

Secondary Header: <H2>

  • Unordered list item
  • Second unordered list item
  • New unordered list
    • Nested list item

Third Level header <H3>

  1. An ordered list item.
  2. A second ordered list item with the same number.
  3. A third ordered list item.
Here is some preformatted text.
  This line begins with some indentation.
    This begins with even more indentation.
And this line has no indentation.

Alt text for a graphic image

A definition list
A list of terms, each with one or more definitions following it.
An HTML construct using the tags <DL>, <DT> and <DD>.
A term
Its definition after a colon.
A second definition.
A third definition.
Another term following a blank line
The definition of that term.