added method newGame(unsinged int)