FeudalTactics icon indicating copy to clipboard operation
FeudalTactics copied to clipboard

Statistics page

Open Sesu8642 opened this issue 1 year ago • 2 comments

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

Sesu8642 avatar Jul 20 '23 19:07 Sesu8642

Hello @Sesu8642, I want to participe on your project and try to fix this issue

lauicibovi23 avatar Sep 28 '23 12:09 lauicibovi23

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.

Sesu8642 avatar Sep 28 '23 17:09 Sesu8642