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.
Today, we encapsulate handler data inside of each and every message type which is quite repetitive across the structs as well as the relevant handlers and validators.
Ideally the data would be brought out to a new struct encapsulating the message
Ideally as a part of making this change we could clean up how the handlers process this data - namely allowing them to have strict typing through generics
Today, we encapsulate handler data inside of each and every message type which is quite repetitive across the structs as well as the relevant handlers and validators.
Ideally the data would be brought out to a new struct encapsulating the message
Ideally as a part of making this change we could clean up how the handlers process this data - namely allowing them to have strict typing through generics