private void btnConfirmtarget_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         String yString = this.CoordinatesTarget.Substring(1);
         try
         {
             int      y      = Int32.Parse(yString);
             Position target = new Position(this.CoordinatesTarget[0], y);
             PlayerViewControl.TargetFire(target, this.Computer);
             this.ShipNumber(this.Computer, target, false);
             System.Console.WriteLine("PC count :" + this.Computer.Ships.Count);
             if (this.Computer.Ships.Count != 0)
             {
                 target = ComputerViewControl.IATargetFire(this.Player);
                 this.ShipNumber(this.Player, target, true);
                 GeneratePlayerMap(this.Player.PlayerMap);
                 GenerateComputerMap(this.Computer.PlayerMap);
                 System.Console.WriteLine("human count :" + this.Player.Ships.Count);
             }
         }
         catch (Exception)
         {
             System.Windows.MessageBox.Show("Vos ingénieurs vont avoir du mal à savoir où viser si vous ne donnez qu'une seule coordonée.");
         }
     }
     catch (Exception)
     {
         System.Windows.MessageBox.Show("Veuillez entrer une cible valide. Les ingénieurs qui organisent le tir n'ont rien compris à votre demande.");
     }
 }