changed player from a simple char to a case class, safer