So I have a cooking game that I am creating, and in it there are going to be appliances such as ovens, sinks and chopping boards.
I am taking an Object Oriented approach to the game, so I am wondering if I should have a separate module script for each class (appliance), or contain all of the classes and their functions in one script.
I am only foreseeing one unique method per appliance, which would be to actually perform the appliance’s function. However, it could lead to messy/unreadable code if I go with this approach.
I think I already know the answer, which is to have each class in its own separate script, but at the same time it seems pointless having a script with only 100 or so lines.
Any opinions would be appreciated!