-
Notifications
You must be signed in to change notification settings - Fork 2
Development Cheatsheet
https://pythonhowtoprogram.com/how-to-split-and-organise-your-source-code-into-multiple-files-in-python-3/
Splitting Python Script into multiple files and importing
Main Menu - Some random logic that will be decided along the way
MAIN LOGIC: ALL WRITTEN INTO EXCEL UPON SAVING GAME:
Count of remaining Buildings -Beach: Quantity e.g.: 7 -Factory: Quantity e.g.: 6 -House: Quanity -Shop: Quantity -Highway: Quantity (Read CSV)
Progress of Player's game -List for each row (4 slots, whenever building assigned = object stored in list) -e.g. row1 = ["", "", BeachObject, ""] row2 = ["", "", FactoryObject, Shop] etc.... (Subjected to change) *OTHER POSSIBLE IDEA: Nested list for whole grid (Read CSV) [Each row's objects separated into 4 columns in excel sheet (Total 4 rows)]
Building Object -Written in separate python files (Probably called "Building.py" <---- Abstract Class) -Contains calculation logic for the building type -Process: Pass in parameters such as player's total score and building type Calculate total score according to building type's logic
Unit Testing