Hey Ricardo!
Thanks for the feedback.  Re the

if @points > 3 && @points >= @opponent.points + 1 vs 2

In this case, my logic was as follows: If the player is in a deuce
situation, they have to win by 2 points. If the score is 40:30, then the
only way player A can with that game is another point is scored before
letting the opponent score, which would result in a deuce. Thoughts?


On Mon, Sep 23, 2013 at 3:03 PM, Ricardo Cervantes <notifications@github.com
> wrote:

> In tennis copy.rb:
>
> > +
> > +#------------------PLAYER FUNCTIONALITY-------------------#
> > +
> > +  class Player
> > +    attr_accessor :points, :opponent, :game_points
> > +
> > +    def initialize
> > +      @points = 0
> > +      @game_points = 0
> > +    end
> > +
> > +
> > +
> > +    def record_won_ball!
> > +      # Check to see if a win-point results in a win-game outcome.
> > +      if @points > 3 && @points >= @opponent.points + 2
>
> Careful here. The correct comparison would be
>
> if @points > 3 && @points >= @opponent.points + 1
>
> Meaning, if the Player was already ahead by 1 and he wins a ball, hi will
> have won a game_point
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/makersquare/Week-2-BE-Eval/pull/13/files#r6525897>
> .
>