public void addContender(contender contender)
 {
     lock (contenders)
     {
         contenders.Add(contender);
     }
 }
Example #2
0
        public tournamentGame(contender contenderWhite, contender contenderBlack)
        {
            white = contenderWhite;
            black = contenderBlack;
            boardRepresentation = string.Empty;

            lock (_nextIDLock)
            {
                id = _nextID;
                _nextID++;
            }
        }
 public playerException(contender newCulprit, pieceColour responsible, string why, Exception e)
     : base(why, e)
 {
     culprit = newCulprit;
     culpritCol = responsible;
 }
 public playerException(contender newCulprit, pieceColour responsible)
 {
     culprit = newCulprit;
     culpritCol = responsible;
 }