Skip to content

Commit

Permalink
make a few modifications to @sagevann's proposed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarchedi committed Jul 16, 2014
1 parent 808d04e commit bac2327
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions R/phrases.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,20 @@ praise <- function() {
phrases <- c("You got it!",
"Nice work!",
"Keep up the great work!",
"You are doing so well!",
"All that hark work is paying off!",
"You nailed it! Good job!",
"You're the best!",
"You are amazing!",
"Keep working like that and you'll get there!",
"Perseverance, that's the answer.",
"Great job!",
"You are quite good my friend!",
"You're dedication is inspiring!",
"You got it right!",
"That's correct!",
"You are really on a roll!",
"Excellent job!",
"All that practice is paying off!",
"Excellent work!",
"That's a job well done!",
Expand All @@ -31,8 +37,8 @@ tryAgain <- function() {
"That's not the answer I was looking for, but try again.",
"Not quite right, but keep trying.",
"You're close...I can feel it! Try it again.",
"One more time, you can do it.",
"One more time. You can do it!",
"Not quite, but you're learning! Try again.",
"Try again, getting it right on the first try is boring anyway.")
"Try again. Getting it right on the first try is boring anyway!")
sample(phrases, 1)
}

0 comments on commit bac2327

Please sign in to comment.