Sha256: 6824dc5e2200eb14b0c3c04d5c726bb9391897350ddce6ac3a87afe6c0542b31

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

#!/usr/bin/env ruby
require 'tres-raya'
# 1.9.3

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tres-raya-0.0.3 bin/tres_en_raya.rb
tres-raya-0.0.2 bin/tres_en_raya.rb