Making cardGameViewController Generic