A card game framework and various games in Typescript. The framework allows for bot development and playing card games in the terminal or in a browser.
Currently, the handlers and intermediaries use a system of returning a promise to indicate that the data has been sent wherever, and uses the response queue to push promises or synchronous results. However, this doesn't particularly make sense for Euchre, as the intermediary has two distinct sends (maybe a generator at the intermediary level?). As an initial implementation, we may just clear up the ordering of events or prevent the game from continuing before all grouped events are processed (and remove the undefined event for Euchre).
Currently, the handlers and intermediaries use a system of returning a promise to indicate that the data has been sent wherever, and uses the response queue to push promises or synchronous results. However, this doesn't particularly make sense for Euchre, as the intermediary has two distinct sends (maybe a generator at the intermediary level?). As an initial implementation, we may just clear up the ordering of events or prevent the game from continuing before all grouped events are processed (and remove the undefined event for Euchre).