Sha256: 45a625c1072ff614d94793207ac1c805d8fe248f9cdd4df14007a43f0da51eb5

Contents?: true

Size: 197 Bytes

Versions: 2

Compression:

Stored size: 197 Bytes

Contents

require_relative '../shared/player'

module TTT
  class Player < Shared::Player
    attr_accessor :value

    def post_initialize(args = {})
      @value = args.fetch(:value, "X")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
games_bfox-0.3.0 lib/games/tictactoe/player.rb
games_bfox-0.2.0 lib/games/tictactoe/player.rb