johnameyer / cards-ts

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.
6 stars 2 forks source link

Add package tests #24

Closed johnameyer closed 3 years ago

johnameyer commented 4 years ago

For libraries that are game implementations (e.g. hearts and can-i-have-that, not core), there should be a (package) test that ensures that a minimum set of members are exported that would make it possible to be run (by the framework or on a server) in a game-agnostic manner. As well, the test should make sure that the game can run through to the end using the default bots.