Skip to content

2018 09 22 Manual Game Analysis

David Bristoll edited this page Sep 22, 2018 · 1 revision

I've enabled the Manual Game Analysis option on the football menu. It's pretty basic, but it enables the user to select the home and away teams from the selected leagues. It then displays:

  1. The home team's home game stats.
  2. The home team's total game stats.
  3. The away team's away game stats.
  4. The away team's total game stats.
  5. A comparison of 1 and 3.
  6. A comparison of 2 and 4.

It's not pretty. It's not very clear. But it's a good start.

I've also made a new file for functions that will be of use across the project. I've taken copies of an existing function from existing files and placed it in this "commonFunctions.py" file. I've created a tiny new function to help with input validation (validInput()) and have also put this in the common functions file.

I've made a small correction to a menu item on the league selection screen.

Finally, for the first time, I've used the 'Issues' feature of Github for the first time to raise a few issues I know exist. It's not really to ask for help (I'm not sure how I feel about people editing my code, possibly implementing code I don't fully understand, and I have doubts that people will really understand what I've done through my work not being clear or 'Pythonic'!). I've used the feature to continue to provide me some direction. Some simple next steps. That being said; if you feel like you would like to get involved in the project get in touch. I'm sure I can nudge myself from this comfort zone ideal and learn from some more experienced, albeit patient, coders.

Clone this wiki locally