7DRL: Building an Engine -- Refactoring

I didn’t make a lot of visible progress today, but I decided it was time to take a step back and do a vital step in any programming project – refactoring. As usual, you can “play” the current test engine by following this link to Trinket and then pressing the “Run” button along the top of the window. Trinket is a “good enough” solution for now. I’d like to move to a native browser implementation, but it ticks the checkbox that says “can run in browser”, so I move on to issues I haven’t yet addressed. (For one thing, Trinket doesn’t use the latest version of Pygame, so sometimes I find myself using features not yet available there). ...

February 17, 2022 · 4 min · 715 words · Tipa