Greenheart / swipeforfuture.com

Solving the climate crisis, one swipe at a time 🌍🔥
https://swipeforfuture.com
GNU General Public License v3.0
6 stars 1 forks source link

Cards with dynamic content based on state #177

Open Greenheart opened 3 years ago

Greenheart commented 3 years ago

Sometimes it is useful to create slight variations of the same base card, with only minor differences based on the current game state.

By introducing dynamic parts of certain cards, we could allow some cards to change their appearance depending on the game state.

This could technically be implemented using content-utils instead of adding it to the core game, but would create duplicated data in the scenarios.

So the tradeoff basically stands between increasing the core game engine complexity and increasing the content-utils complexity while also increasing scenario data export size