made cardGameViewController polymorphic