Esempio n. 1
0
 public bool Visit(ClueAboutNotColor clueAboutNotColor)
 {
     if (_stringBuilder.Length > 0)
     {
         _stringBuilder.Append(", ");
     }
     _stringBuilder.Append("Not " + clueAboutNotColor.Color);
     return(true);
 }
Esempio n. 2
0
        public bool Visit(ClueAboutNotColor clueAboutNotColor)
        {
            foreach (var number in _provider.Ranks)
            {
                _matrix[number, clueAboutNotColor.Color] = 0;
            }

            return(true);
        }
Esempio n. 3
0
 private bool EqualsCore(ClueAboutNotColor clueAboutNotColor)
 {
     return(Color == clueAboutNotColor.Color);
 }