base class for games