diff options
Diffstat (limited to 'bin/mastermind')
| -rw-r--r-- | bin/mastermind | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/mastermind b/bin/mastermind index 43fe304..97af74b 100644 --- a/bin/mastermind +++ b/bin/mastermind @@ -2,4 +2,7 @@ $LOAD_PATH.push File.join(File.dirname(__FILE__), "/../lib") require 'mastermind' game = Mastermind::Game.new(STDOUT) -game.start +game.start(%w[r g y c]) +while guess = gets + game.guess guess.split +end |
