Skip to content

Commit 1845473

Browse files
authored
Adjust fold levels for crumpled captcha difficulty
1 parent ad9d224 commit 1845473

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/scala/lc/captchas/CrumpledTextCaptcha.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ class CrumpledTextCaptcha extends ChallengeProvider {
7171

7272
var img = canvas
7373
val numFolds = level match {
74-
case "easy" => 15
75-
case "medium" => 25
76-
case "hard" => 35
77-
case _ => 25
74+
case "easy" => 7
75+
case "medium" => 14
76+
case "hard" => 19
77+
case _ => 14
7878
}
7979
for (_ <- 0 until numFolds) {
8080
img = applyFold(img, r)

0 commit comments

Comments
 (0)