Skip to content

Commit

Permalink
adjust difficulty curve
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Jun 7, 2024
1 parent 1bcc278 commit 7f88fc1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/FMBot.Bot/Services/GameService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ public GameService(IMemoryCache cache, IDbContextFactory<FMBotDbContext> context

var minPlaycount = jumblesPlayedToday.Count switch
{
>= 100 => 1,
>= 25 => 2,
>= 120 => 1,
>= 75 => 2,
>= 40 => 3,
>= 25 => 4,
>= 12 => 5,
>= 5 => 25,
_ => 50
_ => 40
};

var finalMinPlaycount = minPlaycount * multiplier;
Expand Down

0 comments on commit 7f88fc1

Please sign in to comment.