write new small logic function for method start game.