Card game engine.