Which of these tutorials do you feel has the most flexible or well implemented entity system / architecture?
Viewing post in SDL2 Game Tutorials comments
Many of the tutorials support an entity system, where entities can be created by name, and can interact with each other. They do this using an entity factory (entityFactory.c), which sets them up and defines their behaviours via their init calls. They then interact with each other via a call that processes them each frame (usually in entities.c, in a call called doEntities).
The most basic one is Adventure, where only the player interacts with other entities. It's also turned based, so things only interact as the player moves about.
Both Santa and Gunner support a real time system, where entities can all interact with one another.
Rogue is the most complex, since it supports saving and loading, which means the entity states must be preserved and set back up again.