Sha256: d600fef9f049a6eca1fcbea3606263f3ead56a3e30a787b608f00962c63dc653

Contents?: true

Size: 499 Bytes

Versions: 2

Compression:

Stored size: 499 Bytes

Contents

require 'tres_raya/board'
require 'tres_raya/player'
require 'tres_raya/human_player'
require 'tres_raya/dumb_player'
require 'tres_raya/smart_player'
require 'tres_raya/game'
require "tres_raya/version"

module TresRaya
end

if __FILE__ == $0
  if ARGV.size > 0 and ARGV[0] == "-d"
    game = TresRaya::Game.new TresRaya::HumanPlayer,
                   TresRaya::DumbPlayer
  else
    game = TresRaya::Game.new TresRaya::HumanPlayer,
                   TresRaya::SmartPlayer
  end
  game.play
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tres-raya-0.0.3 lib/tres-raya.rb
tres-raya-0.0.2 lib/tres-raya.rb