Meta card-game engine