A library for developing and testing card games