Sha256: 0622bb4fd0fe1e202676bf49f333156af13351cff55a4b9ae43ef391fddfe4a6
Contents?: true
Size: 408 Bytes
Versions: 5
Compression:
Stored size: 408 Bytes
Contents
module Cardgame class Player def initialize @stack = Array.new @discard = Array.new @player_name = "Player" end def stack @stack end #def stack=(card) # @stack = Array.new # @stack << card #end def discard @discard end #def empty_discard # @discard = Array.new #end def name @player_name end end end
Version data entries
5 entries across 5 versions & 1 rubygems