Open JonnyMcFire opened 8 years ago
Is this a bad idea? Are you tired of me posting it? Why no comments? I think it would be a great idea and keeping these statistics over time would help show the value of different cards based on the player.
It's also a considerable amount of work and just not the highest priority at the moment (bad combination :)), but it's definitely a good idea and I would like to see it added at some point.
I have your source and would like to help, but I am not very good at MVVM so it is difficult for me to understand how to add the elements correctly. I can implement the datastructures and decouple the logging code from the logging UI to save the events for each card on the card itself.
I have thought further on how to add this functionality and I think that the major components would be: A Card Manager that creates a unique ID for each card played or seen and returned to a deck. Card Manager captures each time a card is involved in any action, taking this information from the log. Card tool tip is extended to have options for viewing card information as it currently is implemented, and another option for showing card history. New Card Tool Tip for card history.
All cards are entities and entities have unique IDs, so there's no need to create unique IDs (see GameV2.cs and Entity.cs).
Hello,
Could you possibly add the information you gain from the log to the card tool tip?
Here are some possible use case scenarios to help explain my thought process.
Scenario 1:
Scenario 2:
I can flesh out some more scenarios at another time. I think to do this, you can expose some of the same functionality you used for the replay and just add to the cards list of actions as the game progresses. .
Thanks for taking the time to evaluate this idea.
-Jonny