FeudalTactics
FeudalTactics copied to clipboard
Statistics page
Suggestion I received via email: show how often the player won and lost. Some metrics I can imagine:
- number of maps generated
- number of maps started
- number of games won and lost (as mentioned, possibly per difficulty)
- number of games exited before winning or losing (possibly per difficulty)
- seed played the most
Hello @Sesu8642, I want to participe on your project and try to fix this issue
Hi @lauicibovi23 , Thanks, I appretiate it! Let me give you some notes on what needs to be done:
- new package "statistics" under "menu"
- have a look at the "preferences" package for some similar things (DAO, UI structure)
- the actions mentioned above should send events to the event bus
- event handler class that subscribes to the events and calls the events and calls the DAO
Let me know if you need any more information :smiley:
Please make sure you agree with the CLA before starting any work and sign it in your PR.