/// <summary>
 /// Called in GameBoard Controller when the match ends
 /// </summary>
 public void EndMatch(MLValues mLValues)
 {
     ///dumpsBTWIntervals == pontos marcados pelo MachineLearning
     for (int i = dumpsBTWIntervals.Count - 1; i >= 0; i--)
     {
         //boardsDuringTheMatch == todos os boards durante uma rodada
         foreach (var b in boardsDuringTheMatch[i])
         {
             if (b.pos == dumpsBTWIntervals[i].pos)
             {
                 b.val += (int)mLValues;
             }
         }
         boardsDuringTheMatch.RemoveAt(i);
         dumpsBTWIntervals.RemoveAt(i);
     }
     SaveInterval();
 }
Example #2
0
 public void EndMatch(MLValues value)
 {
     return;
 }