A collectible card game engine