fix the base classes for cardgame