Connecting Two Parts of My App

This is Alexander's teacher....he is such a great student and shared the link with me. Now that school has ended today trying to help finalize this for my upcoming high school season. What we are looking for:

  1. Have seasons (2021, 2022) and so on for each season that I would have for our team. It all be saved locally so can be pulled up from the tablet or created as a report at end of each season in any format (that seems tougher)

  2. Within each season would like the ability to have individual games in which stats can be tracked as the game happens. Would click each zone on the field as an event happens. For example player 1 shoots in zone 1 I would click zone 1 and record shot the player and shot from list pickers.

  3. When the game is over I would like to take each stat and have it store only in the game so I can pull a report at the end per game of the season to see how we did as a team and each player individually.

  4. If possible, I have also tried to add where I could get a season summary of stats per player. Player A had 4 goals, 12 shots, 4 giveways in 2021, etc.

  5. The half is really only used (doesn't have to be) to see how we did each part of the game. At halftime I could tell players he is what we did in 1st half and at end of game could compare our improvement in shots allowed or goals scored kind of deal. Right now I do all this by hand with a few coaches.

We combined so much code I think it became really complicated and confusing for us to be honest. Just looking for some expert guidance in how to simplify and not over complicate like I did.

Any guidance or help in fixing would be a game changer! Hope this makes sense?

Thanks for the help. You guys are great!