Hoping to make a tracking app for my soccer team during a game and take all of the information and save as a file.
Be able to display a report (summary) at the end of the game for me to discuss with players.
Goal scorer and player with assist
shots, corners and other stats I have as global variables
I have a listpicker to choose the player that gives the ball away and a listpicker to choose the tzone (1-9) on the field. Want to keep them together so we can track how often we give the ball away in certain zones during the game and our score.
When I click "save" would like it to save all current stats to a file and start a new game?
I have some items and able to carry global varies from screen to screen.
Hmmm, I would probably be making more extensive use of lists and less extensive use of the tinydb. Also you have a bit of repetition setting the roster to five different lists, you could use just one....You could also reduce the number of selections required by setting "Home" and "Away" as a global at the start of the match.
You are on the right track with connecting your "who did what" scenarios, these also could be stored in a list. You could automate somewhat by calling the roster list after you have entered the action, then join them, along with the zone.
My thoughts are also on your screen design, it needs to be easy and quick to make any selection, what would the workflow be? Zone/Action/Player ? Might be easy to then have a grid of buttons for the zones which kicks things off for each entry ? (green buttons - you could actually have a football (sorry, I won't call it soccer....) field layout underneath...with transparent buttons)
Reports should be straight forward, simply pulling all the data from your lists and displaying. Do you need to use additional screens? You could use virtual screens (arrangements) and just hide and show as needed.
Hope this helps, probably makes things more difficult!!
I agree...we can call it futbol. Thanks for the insight. I don't know much about virtual screens is why I have multiple. Makes initializing variables quite daunting. How do you create a virtual screen?
How do you automate a list and join. That sounds much easier and more efficient.
workflow would be: zone/action/player that is correct.
Oh, your zone numbering may be different, but that is easily changed
I only provided event blocks for zones 1,2,3
I have looked to include everything in one list.
Not done any reporting yet in case you didn't want to go this way...
This is so much more efficient and effective than my large use of tiny db! Is there a way to "save" a game or does that happen when we click create new game?
What about carrying totals for players over multiple games as like a "season tracker". Probably comes with reporting?
When the list shows for each action...is there a way to show only so many at a time as with an 80 minute match that would be quite a bit?
Again...thanks for the help and really getting me in the right direction for simplicity.
The game is saved (to tinydb) after each entry. There probably needs to be a "Game Over" button....
Yes....
You can try adding a "reverse list" block to the list (for the listview), then the last entry is at the top. The presentation of this can be made more beautiful and the entry should probably have a timestamp with it as well ?
Thanks and greatly appreciated. When working on game over button...it will erase current data. Finally, should I create where it is 1st half/2nd half and then combine for the match?
Knew I was asking for trouble by working with one list, makes the reporting much more complicated than it should be. However, I have created three reports: Action (summary of all actions), Player (summary of player actions) and Individual Player Report (summary of a player's actions). You should hopefully be able to see how to create additional reports.
I have added a timestamp for each record, and a button to select the half (but this is not tied into anything).
Still rough and ready, really needs a good error check and workflow set of routines to prevent damage by the innocent!