Sha256: 27bf10eaa0f7f1a84a99359da2b0b66ae3004d76393aae01300aaa631e99fd65

Contents?: true

Size: 452 Bytes

Versions: 2

Compression:

Stored size: 452 Bytes

Contents

Dir[File.join(File.expand_path(File.dirname(__FILE__)), 'shared', '*.rb')].each {|file| require file }
Dir[File.join(File.expand_path(File.dirname(__FILE__)), 'mastermind', '*.rb')].each {|file| require file }

class Mastermind
  def self.run
    io = Shared::IOTerminal.new
    board_presenter = MM::BoardPresenterTerminal.new

    game = MM::Game.new(game_module: MM, io: io, board_presenter: board_presenter)
    # game.setup
    game.play
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
games_bfox-0.3.0 lib/games/mastermind.rb
games_bfox-0.2.0 lib/games/mastermind.rb