This is a GoFish specific class.  Refactored to change class name accordingly.
On Mar 14, 2014, at 12:06 PM, Tim Irwin <notifications@github.com> wrote:

> In app/models/game.rb:
> 
> > +    @current_player_index = 0
> > +    @game_is_started = false
> > +  end
> > +
> > +  def start(cards = nil)
> > +    return nil if @game_is_started 
> > +    if cards.nil?
> > +      @pond = Deck.new()
> > +      @pond.shuffle
> > +    else
> > +      @pond = Deck.new(cards)
> > +    end
> > +
> > +    @players.each {  |player| @books_list[player] = [] }
> > +    @current_player_index = 0
> > +    deal(@players.count > 4 ? 5: 7)
> This seems to be a go-fish specific rule. Where else could this logic be put?
> 
> —
> Reply to this email directly or view it on GitHub.
>