13 hours ago · Tech · 0 comments

Dungeon content has aspects of model and aspects of view. Let’s wrap it in a ContentView and then evolve to something more cohesive. Sort of Part I. A case could be made that I plan to work on today is premature. Everything is working as intended and the code isn’t that bad. But it doesn’t feel right to me, and we are about to do some work that will be impacted by this design and that will, in turn, impact it. We need to add more content of kinds similar to our Button and SecretItem, but different. We need to have some content items change appearance in operation. It is possible that we’ll even have active content items that can move around or take other actions. I think most folx would agree that changes like those are likely to go more smoothly if the dungeon aspects of those changes (model) are as independent as they can be from the visual aspects (view). But the question remains: should we clean up the mess now, or do more work, the better to see the mess, and then clean it up. If…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.