Closed iasoon closed 6 years ago
Doing this would really allow for nicer game code, I think. It would be possible to have explicit state machines clearly describing the future that is blocking progress right now (people connecting, input, ...), maybe using or inspired by https://github.com/fitzgen/state_machine_future. Most importantly, it allows a clearer, familiar API (being the futures API) for library users, instead of the slight spaghetti we have now.
This has been done.
as discussed in swimming pool