示例#1
0
 public void getWin(bool isNeuron)
 {
     if (countStone <= 0)
     {
         Statuslabel.Text = "Победа " + ((isNeuron) ? "НС" : "пользователя");
         NeuronHelper.Write(Statuslabel.Text);
         neuronGame.CorrectNeurons(isNeuron);
         EnabledControl(true);
     }
 }
示例#2
0
 public void GetWin(bool isNeuron, NeuronNetwork network)
 {
     if (_countStone <= 0)
     {
         network.CorrectNeurons(isNeuron);
         NeuronHelper.Write("Победа " + (isNeuron?"НС!":"тренера!"));
         network.Init();
         _countStone = 11;
         _countGames--;
     }
 }