Exemplo n.º 1
0
 public int ScoreFor(Player player)
 {
     int baseScore = _previousGame.ScoreFor(player);
     return baseScore +
         (
             (_winningTeam.BaseScoreFor(player) + (-1 * _losingTeam.BaseScoreFor(player)))
          * _multiplier);                 
 }
Exemplo n.º 2
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     IGame firstGame = new NoPreviousGame();
     Player one = new Player("one");
     Player two = new Player("two");
     Player three = new Player("three");
     Player four = new Player("four");
     Player five = new Player("five");
     Player six = new Player("six");
     new ShellViewModel(new ShellView()).View.Show();
 }
Exemplo n.º 3
0
 public int ScoreFor(Player player)
 {
     return 0;
 }