public int ScoreFor(Player player) { int baseScore = _previousGame.ScoreFor(player); return baseScore + ( (_winningTeam.BaseScoreFor(player) + (-1 * _losingTeam.BaseScoreFor(player))) * _multiplier); }
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(); }
public int ScoreFor(Player player) { return 0; }