示例#1
0
文件: Game.cs 项目: bolthar/ragg.io
 public int ScoreFor(Player player)
 {
     int baseScore = _previousGame.ScoreFor(player);
     return baseScore +
         (
             (_winningTeam.BaseScoreFor(player) + (-1 * _losingTeam.BaseScoreFor(player)))
          * _multiplier);                 
 }
示例#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();
 }
示例#3
0
文件: Game.cs 项目: bolthar/ragg.io
 public int ScoreFor(Player player)
 {
     return 0;
 }