Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.

Enter Your Reply

The Comment You're Replying To
H. G. Muller wrote on Fri, Dec 8, 2023 02:59 PM UTC in reply to François Houdebert from 09:10 AM:

The Rhino already existed as a piece in the fairy-set-view.js, in the main branch that I cloned from GitHub. The cbRhinoGraph function provides the move graph for the piece that is now customary called Manticore, but for which everyone appears to use the rhino image in 2d diagrams.

I wonder if I should make a function cbBetzaGraph(geometry, betzaString) that could be used to implement arbitrary moves. E.g. cbBetzaGraph(geometry, 'BN') to get an Archbishop.

I was able to implement Chu Shogi entirely with the aid of the fairy-move-model.js; it needed no special JavaScript code in its own model file (other than the usual promotion instructions). It is a bit annoying that Jocly does not automatically use a flipped graph for the black pieces. This means that many Shogi pieces need to be defined as different types for black and white. Which again causes complication of the promotion rules when a symmetric piece promotes to an asymmetric one. That makes it difficult to implement a simplification for defining shogi promotions.

Things I still want to add to the fairy-move-model.js are paying attention to the move/capture flag in the definition of the second leg of the hit&run capture (this.neighbors), which now always assumes both. And definition of a burnZone graph similar to neighbors, which would be used by moves with the FLAG_BURN set, where the burning would be an automatic side effect (like Advancer capture). By default it would then only burn enemies a King step away, but by redefining this.burnZone you could also make it burn friends, or even the moving piece itself (by including [0,0] in the step set) to support kamikaze moves.

I am still doubting whether it should include support for pieces that can jump arbitrarily many others, such as the Tenjiku Shogi generals. This seems to be very game-specific, especially if blocking rules exist that depend on a ranking.


Edit Form

Comment on the page Zanzibar-S

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.
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.