Sha256: 240069d312c7c7cb7a9fc47182500e0115a1486617685a353eb9e774721f1d54

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

require_relative 'rav_codebreaker/version'
require_relative 'rav_codebreaker/game'
require_relative 'rav_codebreaker/console'

module RavCodebreaker
  def self._play(level)
    begin
      game = Game.new(level)
      game.play
    end while game.again?
  end

  def self.play(level)
    begin
      console = Console.new(level)
      console.play
    end while console.again?
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rav_codebreaker-0.2.0 lib/rav_codebreaker.rb