private static void InitClient() { Initializer initializer = new Initializer(); colorParser = new ColorParser(); chipParser = new ChipParser(); string blackHole = Console.ReadLine(); ChipDoStepDTO chipBlackHole = chipParser.ParseStringToChip(blackHole); string currentPlayerColor = Console.ReadLine(); boardService = initializer.InitBoardService(); playerService = initializer.InitPlayers(colorParser.ParseStringToPlayerColor(currentPlayerColor), boardService, out CurrentPlayerId, out OpponentPlayerId); initializer.InitBoard(chipBlackHole, playerService, boardService); }
public Initializer() { colorParser = new ColorParser(); }