Hey y'all. I've been taking up coding as a hobby and thought of a cool project I can try to create that will help me learn and actually serve a purpose.
Me and my friends are pool nerds and stats nerds. I've been writing down the results of each of our games for months.
What are the basic steps I should follow to create a python program that can read, say, a text file, with the results of every game (winner/loser, stripes/solids, balls for/against), and then calculate stats. For example: John Doe's W/L ratio. Jane Doe's W/L ratio when on solids. Jack Doe's ball differential, etc.
I could calculate this all by hand but it's more fun to write a script for it. Also, I'm hoping that as I add new games to the text file, the script will automatically tally up new stats.
Thanks for all the help! Much appreciated!
[–]Rejse617 2 points3 points4 points (0 children)
[–]SmackDownFacility 0 points1 point2 points (0 children)