Skip to content

Commit

Permalink
add answer on mitigating chess addiction in the faq page
Browse files Browse the repository at this point in the history
  • Loading branch information
daustria committed May 10, 2024
1 parent a21a45b commit 0ac81ce
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
5 changes: 5 additions & 0 deletions modules/coreI18n/src/main/key.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2102,6 +2102,11 @@ object I18nKey:
val `enableAutoplayForSoundsChrome`: I18nKey = "faq:enableAutoplayForSoundsChrome"
val `enableAutoplayForSoundsSafari`: I18nKey = "faq:enableAutoplayForSoundsSafari"
val `enableAutoplayForSoundsMicrosoftEdge`: I18nKey = "faq:enableAutoplayForSoundsMicrosoftEdge"
val `stopMyselfFromPlaying`: I18nKey = "faq:stopMyselfFromPlaying"
val `mentalHealthCondition`: I18nKey = "faq:mentalHealthCondition"
val `lichessUserstyles`: I18nKey = "faq:lichessUserstyles"
val `lessLobbyPools`: I18nKey = "faq:lessLobbyPools"
val `adviceOnMitigatingAddiction`: I18nKey = "faq:adviceOnMitigatingAddiction"

object lag:
val `isLichessLagging`: I18nKey = "lag:isLichessLagging"
Expand Down
16 changes: 15 additions & 1 deletion modules/web/src/main/ui/FaqUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -391,5 +391,19 @@ final class FaqUi(helpers: Helpers, sitePages: SitePages)(
),
"."
)
),
question(
"stop-chess-addiction",
trf.stopMyselfFromPlaying.txt(),
p(
trf.adviceOnMitigatingAddiction(
a(href := "https://getcoldturkey.com")("ColdTurkey"),
a(href := "https://freedom.to")("Freedom"),
a(href := "https://www.proginosko.com/leechblock")("LeechBlock"),
a(href := "https://lichess.org/page/userstyles")(trf.lichessUserstyles()),
a(href := "https://github.com/ornicar/userstyles/blob/master/lichess.fewer-pools.user.css")(trf.lessLobbyPools()),
a(href := "https://icd.who.int/browse/2024-01/mms/en#1448597234")(trf.mentalHealthCondition())
)
)
)
)
)
9 changes: 9 additions & 0 deletions translation/source/faq.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,13 @@ We show the red icon to alert you when this happens. Often you can explicitly al
3. Click Cookies and Site Permissions
4. Scroll down and click Media autoplay
5. Add lichess.org to Allow</string>
<string name="stopMyselfFromPlaying">Stop myself from playing?</string>
<string name="mentalHealthCondition">stand-alone mental health condition</string>
<string name="lichessUserstyles">Lichess userstyles</string>
<string name="lessLobbyPools">less lobby pools</string>
<string name="adviceOnMitigatingAddiction">We regularly receive messages from users asking us for help to stop them from playing too much.

While Lichess doesn’t ban or block players except for Terms of Service violations, we recommend the use of external tools to limit excessive playing behavior. Some common suggestions for website blockers include %1$s, %2$s, and %3$s. If you want to keep using the site but not get tempted by fast time controls, you might also be interested in %4$s, here is one with %5$s.

Some players may feel like their playing behavior is turning into an addiction. In fact, the WHO classifies gaming disorder as a %6$s, with essential features being 1) impaired control over gaming, 2) increasing priority given to gaming, and 3) escalation of gaming despite negative consequences. If you think that your chess playing behavior follows this pattern, we encourage you to speak about it with a friend or family member and/or with a professional.</string>
</resources>

0 comments on commit 0ac81ce

Please sign in to comment.