Check out Atomic Chess, our featured variant for November, 2024.

Enter Your Reply

The Comment You're Replying To
H. G. Muller wrote on Thu, Nov 17, 2016 10:07 AM UTC:Excellent ★★★★★

Centennial Chess

This is another chess variant that is quite popular on this site. In contains the innovative feature of an asymmetric piece (the Rotating Spearman) that can change its orientation at the end of its turn, deciding how it will be able to move the next time. It also contains several other unorthodox pieces, and thus makes a grateful subject for presentation as interactive diagram:

files=10 ranks=10 promoZone=1 maxPromote=1 promoChoice=QSCLDMNBOR castleFlip=1 graphicsDir=http://www.chessvariants.com/membergraphics/MSelven-chess/ squareSize=35 whitePrefix=w blackPrefix=b graphicsType=png startShade=#639B5E lightShade=#FFFFDC symmetry=mirror pawn::fmWfcFifmnD::a3-j3 steward::mWcFifmnD:archbishop:e2,f2 camel::::b1,i1 spearman (middle):M:fRbmR:lance:b2,i2 spearman (left):L:flBbrmB:shieldL: spearman (right):D:frBblmB:shieldR: knight:N:::c2,h2 bishop::::c1,h1 lion:O:DAcK:cub:d1,g1 rook::::a1,j1 queen::::f1 king::KilO2irO3::e1

Piece overview (click on the piece name to display its moves)

Spearman orientation

The main challenge here of course was to implement the re-orietation of the Spearmen. This required some extra scripting, through one of the standard 'hooks' of the basic diagram script, providing the (optional) function 'WeirdPromotion'. Because the re-orietation of the Spearmen is treated as promotion of one piece type to another, where Middle,Left and Right Spearman are defined as three different piece types.

To make this work satisfactorily, the basic JavaScript powering the diagram had to be enhanced a bit, because it was necessary to make WeirdPromotion invoke the promotion procedure normally used in wester Chess variants, where you can select the promotion piece from the table by clicking there. Before this WeirdPromotion wasonly used in Shogi variants, where there is no choice other than to promote or not. The was solved by making the choice of the (normally non-existent) piece number 1022 indicated by WeirdPromotion be interpreted as a wildcard, allowing the user to select the actual piece from the table. Since WeirdPromotion (when supplied) is called after every move, it just has to test whether the moved piece is one of the Spearmen orientations, and if it is, wait for the user to select the new orientation.

To make this selection of new Spearman orientation easier, the table of pieces is printed next to the board permanently, rather than in the default way as an initially collapsed table under the board. Placement of the table anywhere in the page can be achieved by defining a HTML element <table id="pieceTable"></table> in the desired location.

Castling

Castling was also a bit problematic in this variant, because the King moves a different number of squares on the King side and Queen side. While the setup is such that what is left for white is right for black. So using Betza l and r modifiers would need a different description for white and black King. A new feature was added to the basic diagram script to handle this situation in a more convenient way: a new parameter 'castleFlip', when set to '1' in the diagram definition, will cause the meaning of left and right to be reversed when interpreting the XBetza description of castling for a black piece.


Edit Form

Comment on the page Centennial 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.