Esempio n. 1
0
 private void ShowGamesInRandomOrder()
 {
     foreach (var game in _tournament.Games.OrderBy(x => Guid.NewGuid()))
     {
         GamePlayback.Show(game);
     }
 }
Esempio n. 2
0
        private void ChooseAndShowGame()
        {
            int selectedGame = ChooseGame();

            GamePlayback.Show(_tournament.Games.Where(x => x.Number == selectedGame).First());
        }