View Single Post
Old 02-18-2021, 09:08 PM   #267
SirBlurton
High School Varsity
 
Join Date: Feb 2007
Quote:
Originally Posted by jsmoot710 View Post
Riley
Belated thanks for the team sheets.
I've been dabbling in Python, on and off, for about three months... far from proficient. Can you recommend a good tutorial. I want to try to create a Gridzone ... its a simple game... should be a basic project. Any tip on how to approach such an app.

I started with a book called "Automate the Boring Stuff with Python" by Al Sweigart. From that I learned how to read and write data at a basic level.

A website called Zetcode was where I started learning about GUI basics.

Then it was tonnes of youtube, books and practice.

I would definitely get to know classes and focus on getting an app through "print" before trying to tackle a GUI - I started with GUI for my first run at Gridzone and it slowed me down so much it stopped being fun.

My structure for the current prototype is:
Coaches - stores team PF, play calling tendencies
Player - stores player data and formats data for writing to database
Teams - team data
Event charts - each of the outcomes from the die rolls has it's own function - got faster as I went as I could share some of the generic ones - but this took longest by far
Database manager - I actually load all the player data from csv files but then stats get output to a SQL database

Then my "main", which ties everything together.
SirBlurton is offline   Reply With Quote