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

Enter Your Reply

The Comment You're Replying To
H. G. Muller wrote on Mon, Sep 11, 2023 06:19 AM UTC in reply to wdtr2 from 03:08 AM:

Jocly on github won't include Chu Shogi; it is one of the games I added. I do have a Jocly repository on my own website hgm.nubati.net, which does contain some of the modifications I made. Not all, though, as I originally started by hacking the compiled code, and never finished backporting all that to source code. So I am not sure whether that source would do Chu Shogi.

In any case, Jocly does not contain a 2d piece set especially for Chu. What I remember is this: each game can specify an image file as 'resource', which then contains all the 2d piece images it uses, side by side on a transparent background. For each piece type the game definition contains the number of the piece in that file; apparently the Jocly generic code cuts the piece out of the image, and pasts it on the board it displays.

My Chu implementation uses the standard file with Jocly 2d pieces, ( http://hgm.nubati.net/jocly/jocly-master/dist/browser/games/chessbase/res/fairy/wikipedia-fairy-sprites.png in the Jocly library on my website) which I had extended with a few pieces for other games I implemented. The way to go seems to make an alternative to that file, perhaps by copying and modifying it, and then point the Chu game definition to that file instead of the standard one. If needed by directly editing the Jocly library.

I admit that the current assignment of 2d symbols to the Chu-Shogi pieces sucks. I really only payed attention to creating the 3d kanji tiles. To qualify for incorporating Chu Shogi in the official library I suppose it should use kanji tiles in the 2d representation as well. But I dislike kanji representations, like all westerners other than the miniscule community of non-Japanese Shogi players, so it seemed a good idea to use the 2d representation as an alternative. Personally I would prefer the mnemonic representation for that, but a poll under Chess players revealed they would prefer a pictogram representation, where the symbols are a reminder for the name rather than the move of the piece.


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