lib/games/mastermind.rb in games_bfox-0.4.0 vs lib/games/mastermind.rb in games_bfox-0.6.0
- old
+ new
@@ -1,6 +1,13 @@
-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 }
+# 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 }
+
+require File.join('games', 'shared', 'io_terminal')
+require File.join('games', 'mastermind', 'io_helpers')
+require File.join('games', 'mastermind', 'board_presenter_terminal')
+require File.join('games', 'mastermind', 'board_builder')
+require File.join('games', 'mastermind', 'players_factory')
+require File.join('games', 'mastermind', 'game')
class Mastermind
def self.run
io = Shared::IOTerminal.new
io_helpers = MM::IOHelpers.new(io)
\ No newline at end of file