greenstack / spite-framework

The Spite Framework is a C# library meant to simplify designing and implementing turn-based gameplay by providing some boilerplate code.
MIT License
6 stars 0 forks source link

Introduce Sides #7

Closed greenstack closed 3 years ago

greenstack commented 4 years ago

Though the concept of Sides was removed in 0.2.0-alpha, there is another way in which they can be useful. Sides can be considered a group of allied teams.

Potential benefits of introducing sides:

I don't see Sides as an 0.2.0-alpha feature, but rather as a 0.3.0-alpha. This is up for discussion, however.

greenstack commented 3 years ago

I've been thinking about this recently, and I think a better way to do this would be with an alliance graph type. The alliance graph would allow developers to define alliances by treating teams as nodes and their relationship as edges. I think this would also be more dynamic, as changes to alliances could happen as a part of an action or reaction during battle; while Sides could potentially handle this, I think the alliance graph makes more sense in the long run.