Card-Game-Simulator icon indicating copy to clipboard operation
Card-Game-Simulator copied to clipboard

Text formatting

Open theMadness opened this issue 4 months ago • 5 comments

One of the useful features of digital card games, is that they can offer a way to translate a card game in a foreign language (and Japan is rife with abandoned TCGs) and play it with ease.

CGS already supports a text field that shows up when performing the appropriate rituals, but it can just display plain text and not much more.

TTS, a direct competitor, has a crude-yet-somewhat-useable bbcode system that, alongside a non-collapsing white space structure, allows for nice formatting of the card essentials, including flavor.

It would be nice to have options like:

  • an optional displayText property for cards that can be manually filled with marked-up text that gets displayed in a more "automatic" fashion (perhaps something a player can turn on and off, and the game can default to on or off)
  • a template property that with a simpl-ish template language produces an equivalent of the hardcoded displayText option above, starting from card properties

theMadness avatar Aug 02 '25 09:08 theMadness