示例#1
0
文件: UI.cs 项目: olafbauer/Tennis
 public static void Scoreboard(Set set)
 {
     Console.WriteLine (set.CurrentScoreString());
 }
示例#2
0
 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 ();
 }