public PlayerCollector(BoardPrinter bp) { Bp = bp; AllPlayer = new List <Player>(); int players = PlayerCountRequest(); Players = players; }
public static void Play() { int width = GetBoardSizeInts.GetBoardWidth(); int height = GetBoardSizeInts.GetBoardHeight(); Board b = new Board(height, width); BoardPrinter bp = new BoardPrinter(b); FlashingPlayerCoins fpc = new FlashingPlayerCoins(bp); PlayerCollector pc = new PlayerCollector(bp); GameLogic gl = new GameLogic(b, pc, fpc); pc.Collect(); bp.Print(); gl.DoTurnsUntilWinn(); }
public FlashingPlayerCoins(BoardPrinter boardPrinter) { BoardPrinter = boardPrinter; }