public Player(int id, CurrentPlayerService currentPlayerService, string name) { Id = id; Name = name; _currentPlayerService = currentPlayerService; InitSquares(); }
public Game(CurrentPlayerService currentPlayerService) { _currentPlayerService = currentPlayerService; _players = new[] { new Player(0, currentPlayerService, "Player 1"), new Player(1, currentPlayerService, "Player 2") }; }