crobi / rpg-cards

RPG spell/item/monster card generator
https://rpg-cards.vercel.app
MIT License
512 stars 288 forks source link

Enable decorators through modularity #43

Open WilcoFiers opened 8 years ago

WilcoFiers commented 8 years ago

I love this little project. I've been looking to use it as part of one of my own works. But I already have data for the cards. I just want to be able to pick them and select how many to print. So some of the stuff in the in this tool I can reuse, but some of it I'll have to swap out with my own. My thinking is to organize the list of functions a bit, to get some more modularity and make it a bit easier to work in decorators.

Do you have any thoughts / preferences in this regard? I'd love to get your thoughts on where you're going with this project, to see if I can align my work.

crobi commented 8 years ago

Do you have a link for this other work of yours?

The long term goal of this project is to redesign the code with React (#36). This would give you a pure function that transforms input data into a HTML string. As for the UI, an even longer term goal would be to provide a UI where users can load external data (json/csv) and even provide define a template for the cards.

Both goals will likely require a complete rewrite and won't happen any time soon.

WilcoFiers commented 8 years ago

Nothing functional yet. I'll send you a PR if I have something worth sharing. Wanted to check where you stand. React is an interesting idea.