added validations for game class