static void Main(string[] args) { IScoreHouse scores = new ScoreHouse(); Player one = new Player("Player 1", scores); Player two = new Player("Player 2", scores); Board b = new Board(one, two); // rest left as exercise to reader! }
static void Main(string[] args) { IScoreHouse n = new ScoreHouse(); //need to come fix here IScoreHouse v = new ScoreHouse(); Player one = new Player("Player 1", n); Player two = new Player("Player 2", v); Board b = new Board(one, two); // rest left as exercise to reader! }
static void Main(string[] args) { //Player one = new Player("Player 1"); //Player two = new Player("Player 2"); ScoreHouse player1 = new ScoreHouse(); Player p1 = new Player("Player 1", player1); //first player ScoreHouse player2 = new ScoreHouse(); Player p2 = new Player("Player 2", player2); Board b = new Board(p1, p2); //second player // rest left as exercise to reader! }