예제 #1
0
파일: UI.cs 프로젝트: olafbauer/Tennis
 public static void Scoreboard(Set set)
 {
     Console.WriteLine (set.CurrentScoreString());
 }
예제 #2
0
파일: History.cs 프로젝트: olafbauer/Tennis
 public static List<List<string>> SetHistory(int setNum, Set set)
 {
     List<int> range = Enumerable.Range (1, set.Games.Count).ToList ();
     return range.Zip (set.Games, (count, game) => GameHistory (count, game, setNum)).ToList ();
 }