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

Add bot tests #25

Closed johnameyer closed 4 years ago

johnameyer commented 4 years ago

There should be tests to make sure that the bots can follow the rules in a majority of scenarios, finish the game, do not take too long with their turns, and perform significantly better than a random bot (i.e. a bot that makes valid choices randomly).