Skip to content
Snippets Groups Projects
Commit c846f308 authored by Stephen D's avatar Stephen D
Browse files

oops

parent e882e217
Branches master
No related tags found
No related merge requests found
......@@ -5,10 +5,10 @@ require 'date'
words = if ARGV[0] == '--hard'
puts "Playing in HARD MODE"
File.open("easy-words.txt") { |f| f.read }
File.open("hard-words.txt") { |f| f.read }
else
puts "Playing in EASY MODE"
File.open("hard-words.txt") { |f| f.read }
File.open("easy-words.txt") { |f| f.read }
end.lines
ARGV.pop # needed so that `gets` works for some reason?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment