Module: ConnectFourCli
- Defined in:
- lib/connect_four_cli.rb,
lib/connect_four_cli/game.rb,
lib/connect_four_cli/board.rb,
lib/connect_four_cli/checker.rb,
lib/connect_four_cli/version.rb,
lib/connect_four_cli/computer.rb,
lib/connect_four_cli/renderer.rb
Defined Under Namespace
Classes: Board, Checker, Computer, Game, NoChecker, Renderer
Constant Summary collapse
- VERSION =
"0.3.1"
Class Method Summary collapse
Class Method Details
.start ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/connect_four_cli.rb', line 9 def self.start if ARGV[0] == "--two" || ARGV[0] == "-2" game = Game.new(6) else game = Game.new(6, true) end Renderer.start(game) end |