Sha256: df6a3748315767abddf75bb14c43c0b9c07df993b918d641e5690786ab873e1a

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

#!/usr/bin/env ruby

require "game-tictactoe-alu4078"

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
game-tictactoe-alu4078-0.0.2 bin/tictactoe_game.rb