Closed MichaelAGolden closed 4 months ago
(current) Overall class structure - WIP
Parent Classes Inventory Item
City Rumors (Interact and get rumors) MarketInventory MarketItem
Player PlayerInventory PlayerItem
Travel (Distance calculations, updating traveltime days) Economy (pricing mechanisms)
Game (Loop, user inputs)
View (Visual representation)
Closing as restarting this project a new approach will be taken
As I've learned more about python and better ways to approach problem, I realize that I need to change some of my approach. Therefore, I've set out to rebuild the the classes in one file for the time being and work with something that is more "object oriented" or data structured I suppose.
My critique before was that my classes and methods had poor cohesion and had a high degree of coupling. In this refactor I am looking to rethink the approach I originally took and focus designing the structure of the program at the start so that the project takes less time to complete.