Posts about architecture
1 post
-
GRD 014
#153
An entity component system for a roguelike
A Monster class, a Player class and a base class they share work until you want a door you can attack. I use a small entity component system instead, about a hundred lines of TypeScript, with one downside you should know about.