Sha256: c9c1af7a004a37e003386b01f9ddfb67ca6e0886d44cc2d0ccc8d426ce083775

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

require "ta_te_ti/board"
require "ta_te_ti/player"
require "ta_te_ti/human_player"
require "ta_te_ti/dumb_player"
require "ta_te_ti/smart_player"
require "ta_te_ti/game"

require "ta_te_ti/version"

module TaTeTi
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ta-te-ti-0.0.2 lib/ta_te_ti.rb