private void ChoosePlayers_Click(object sender, RoutedEventArgs e) { _playerRepo = new PlayerRepo(); _playerList = _playerRepo.ListOfPlayers(1); _gameboard = new Gameboard(_playerList, _dice); UpdateScreen(); }