diff --git a/lib/game.rb b/lib/game.rb index 219c932..5bbbb8c 100644 --- a/lib/game.rb +++ b/lib/game.rb @@ -7,8 +7,8 @@ class Game @@messages = { :help => [ "Commands:", - "- \\quit: stop the game", - "- \\help: display this help message" + "- quit: stop the game", + "- help: display this help message" ].join("\n"), :quit => [ "You have quit the game." @@ -49,10 +49,10 @@ def start result = true case @input - when "\\quit" + when "\quit" puts @@messages[:quit] break - when "\\help" + when "\help" puts @@messages[:help] when "go west" result = @player.go_west @@ -71,4 +71,4 @@ def start end end end -end \ No newline at end of file +end