public Game(string playerName) { CheckSettings(); Breaker = new CodeBreaker { Name = playerName }; Maker = new CodeMaker(); Board = new Board(); }
private void SaveHistory() { Board.BoardHistory.Push(Breaker); var name = Breaker.Name; Breaker = new CodeBreaker { Name = name }; }