lib/codebreaker_paratskiy.rb in codebreaker_paratskiy-0.2.1 vs lib/codebreaker_paratskiy.rb in codebreaker_paratskiy-0.2.2
- old
+ new
@@ -1,7 +1,7 @@
require_relative 'game'
module CodebreakerParatskiy
- def self.run_game(name, difficulty)
+ def self.run_game(name = DEFAULT_NAME, difficulty = DIFFICULTIES[:default])
game = Game.new(name, difficulty)
game.run
game
end
end