click new game button  constructor working except for random number property