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

Concrete Turn Managers: Team/Player-Based #20

Closed greenstack closed 3 years ago

greenstack commented 3 years ago

There are a lot of possible turn schemes, but provided some simple concrete turn schemes could help expedite the development of turn-based games.

This issue focuses on creating a turn-manager that will work for games where the player orders all units to act until all are tapped, like in Fire Emblem. Once all units have acted or the player ends their turn, priority is handed to the next team in the list.

greenstack commented 3 years ago

While doing work on this, I've found myself wondering if there should be a special Team that the Arena belongs to that has special permissions, i.e. it can perform a command regardless of where it is. This might be worth looking into.

greenstack commented 3 years ago

The above commits should do the trick.