lib/games/shared/player.rb in games_bfox-0.3.0 vs lib/games/shared/player.rb in games_bfox-0.4.0

- old
+ new

@@ -1,12 +1,10 @@ module Shared class Player - attr_accessor :value, :name, :type, :difficulty_level + attr_accessor :name def initialize(args = {}) @name = args.fetch(:name, "Player 1") - @type = args.fetch(:type, :human) - @difficulty_level = args.fetch(:difficulty_level, nil) post_initialize(args) end def post_initialize(args) end \ No newline at end of file