示例#1
0
 public Game(string playerName)
 {
     CheckSettings();
     Breaker = new CodeBreaker {
         Name = playerName
     };
     Maker = new CodeMaker();
     Board = new Board();
 }
示例#2
0
        private void SaveHistory()
        {
            Board.BoardHistory.Push(Breaker);

            var name = Breaker.Name;

            Breaker = new CodeBreaker {
                Name = name
            };
        }