 
 class ViewController: UIViewController {
     static let BORDER_MARGIN:CGFloat = 16
+    let _gameRangeToScreenRatio:CGFloat = 1
     let _gameController = GameController()
     @IBOutlet weak var ui_guessedValueField: UITextField!
     @IBOutlet weak var ui_gameStatusLabel: UILabel!

            ui_lowBoundaryLabel.text = String(_gameController.lowBoundary)
            ui_highBoundaryLabel.text = String(_gameController.highBoundary)
            
            cs_boundaryZoneLeading.constant = ViewController.BORDER_MARGIN + CGFloat(_gameController.lowBoundary) * gameRangeToScreenRatio
            cs_boundaryZoneTrailing.constant = ViewController.BORDER_MARGIN + CGFloat(GameController.MAX_VALUE - _gameController.highBoundary) * gameRangeToScreenRatio
            
        } else {
            ui_gameStatusLabel.text = nil

    }
    
    override func viewWillLayoutSubviews() {
        let barWidth:CGFloat = self.view.bounds.width
            - self.view.safeAreaInsets.left
            - self.view.safeAreaInsets.right
            - 2 * ViewController.BORDER_MARGIN
        _gameRangeToScreenRatio = barWidth / CGFloat(GameController.MAX_VALUE - GameController.MIN_VALUE)
        updateDisplay()
        super.viewWillLayoutSubviews()
    }
    
    func updateDisplay() {
        if _gameController.isGameInProgress {
            ui_gameStatusLabel.text = "Essayez de trouver le nombre mystère"
            ui_guessedValueField.isHidden = false
            ui_checkValueButton.isHidden = false
