Skip to content

Commit

Permalink
Add punctuation at the end of generic strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanner committed Oct 25, 2013
1 parent 2f79a29 commit 154db23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/githug/game.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ def initialize
def play_level
solve = true
if profile.level.nil?
UI.puts("Welcome to Githug")
UI.puts("Welcome to Githug!")
solve = false
level_bump
else
level = Level.load(profile.level)
if solve && level
if level.solve
UI.success "Congratulations, you have solved the level"
UI.success "Congratulations, you have solved the level!"
level_bump
else
UI.error "Sorry, this solution is not quite right!"
profile.current_attempts += 1
profile.save

if (profile.current_attempts > 2 && profile.current_attempts % 3 == 0)
UI.error "Don't forget you can type `githug hint` for a hint and `githug reset` to reset the current level"
UI.error "Don't forget you can type `githug hint` for a hint and `githug reset` to reset the current level."
end

UI.puts level.full_description
Expand Down
2 changes: 1 addition & 1 deletion lib/githug/level.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def show_hint
elsif @hint
@hint.call
else
UI.puts("No hints available for this level")
UI.puts("No hints available for this level.")
end
end
end
Expand Down

0 comments on commit 154db23

Please sign in to comment.