ronplanken / game-datacards

GNU General Public License v3.0
16 stars 12 forks source link

Feature: Implement Battle Rule Cards (Mission Rule, Primary Mission, Secondary, Gambit) #97

Open RabidCicada opened 1 year ago

RabidCicada commented 1 year ago

Is your feature request related to a problem? Please describe. I want to be able to create Generic Battle Rule Cards, so that I can create and print Warhammer40k:

Possibly could be used for Detachment Special Rules going forward

Describe the solution you'd like I'd like a top level card that shares the same themes as the 40k ones. All the 40k cards share similar arrangement and iconography.

Mission rules have

Primary Missions have

Secondary Missions have

Gambits have

The common design I can see is

Describe alternatives you've considered I don't think there's another good way to do it.

Additional context

PrimaryMission MissionRule Secondary Gambit
RabidCicada commented 1 year ago

Alright. Discovered there were already Secondaries in from previous design.

Worked my current more generalized structure to use the existing "secondary" css for the basic cards.

I have added the flexible description elements in the basic_data under the extra_description field

RabidCicada commented 1 year ago

Ok...It's been a while since I looked at this. You agreed the approach seemed good over discord.

I plan to open a PR/MR against https://github.com/game-datacards/datasources/blob/main/10th/gdc/core.json with all the battle rule card text included. I'm going to use tesseract to extract from pictures of the cards a friends sent me.

Then I'll work on updating this actual PR/MR.

RabidCicada commented 5 months ago

This is now being tracked and worked in https://github.com/ronplanken/game-datacards/tree/feature/game-rules

RabidCicada commented 5 months ago

@ronplanken Let me know if there's anything I can do to help.

I specifically see that there is no "Back" to the card at the moment which would be desired for people to have decks of cards to draw from at "random"

RabidCicada commented 5 months ago

Text for Scorched earth is too long and renders off the card

RabidCicada commented 5 months ago

Text for Scorched earth is too long and renders off the card

Perhaps allow arbiratry text size setting or allow custom card dimensions. I'd favor custom card dimensions I think...but both seem reasonable