Sha256: 9bbf203e3eb7336789eb2f9271f5096eee2780e2bf63ec8229471b98c83f45d2

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

module LemonadeStand

  class Player
    attr_accessor :index
    attr_accessor :game
    attr_accessor :assets

    def initialize
      @assets = 200
    end

    def choose choice
      game.make_choice choice, { player: self }
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lemonade_stand-0.0.1 lib/lemonade_stand/player.rb