Static class GameNumber created. The class generates random number and check if input number is valid