Hello.
You know how most puzzle games have alternate game modes? An endless mode and a timed mode for example. I was wondering what the best way to organize my code would be so I could include an alternate game mode.
I was thinking of going with inheritence. If I don’t use inheritence there will be a fair bit of duplicate code. But the game modes will vary far too much to be in the same class. Have you had alternate games modes in your game, and did you use inheritence? If not how did you organize your code?