private void Initialize() { _player1.Board = BoardGeneratorService.GenerateRandomBoard(); _player2.Board = BoardGeneratorService.GenerateRandomBoard(); }
public ChessGridViewModel(ChessRulesService chessRules, BoardGeneratorService generator) { this.generator = generator; this.rules = chessRules; this.Squares = new ObservableCollection <Square>(); }