Skip to content

feat: add custom difficulty option with accuracy threshold (@NotUnHackable)#7731

Open
NotUnHackable wants to merge 1 commit intomonkeytypegame:masterfrom
NotUnHackable:master
Open

feat: add custom difficulty option with accuracy threshold (@NotUnHackable)#7731
NotUnHackable wants to merge 1 commit intomonkeytypegame:masterfrom
NotUnHackable:master

Conversation

@NotUnHackable
Copy link
Copy Markdown

  • Added 'custom' difficulty option to DifficultySchema
  • Added difficultyCustomAccuracy config option (0-100%)
  • Test fails automatically in words mode when accuracy drops below threshold
  • Added UI for custom accuracy input in settings
  • Added modes-notice display showing custom accuracy percentage

Description

Checks

  • Adding quotes?
    • Make sure to follow the quotes documentation
    • Make sure to include translations for the quotes in the description (or another comment) so we can verify their content.
  • Adding a language?
    • Make sure to follow the languages documentation
    • Add language to packages/schemas/src/languages.ts
    • Add language to exactly one group in frontend/src/ts/constants/languages.ts
    • Add language json file to frontend/static/languages
  • Adding a theme?
    • Make sure to follow the themes documentation
    • Add theme to packages/schemas/src/themes.ts
    • Add theme to frontend/src/ts/constants/themes.ts
    • (optional) Add theme css file to frontend/static/themes
    • Add some screenshots of the theme, especially with different test settings (colorful, flip colors) to your pull request
  • Adding a layout?
    • Make sure to follow the layouts documentation
    • Add layout to packages/schemas/src/layouts.ts
    • Add layout json file to frontend/static/layouts
  • Adding a font?
    • Make sure to follow the fonts documentation
    • Add font file to frontend/static/webfonts
    • Add font to packages/schemas/src/fonts.ts
    • Add font to frontend/src/ts/constants/fonts.ts
  • Check if any open issues are related to this PR; if so, be sure to tag them below.
  • Make sure the PR title follows the Conventional Commits standard. (https://www.conventionalcommits.org for more info)
  • Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title.

Closes #

@monkeytypegeorge monkeytypegeorge added frontend User interface or web stuff packages Changes in local packages labels Mar 27, 2026
- Added 'custom' difficulty option to DifficultySchema
- Added difficultyCustomAccuracy config option (0-100%)
- Test fails automatically in words mode when accuracy drops below threshold
- Added UI for custom accuracy input in settings
- Added modes-notice display showing custom accuracy percentage
@github-actions
Copy link
Copy Markdown
Contributor

Continuous integration check(s) failed. Please review the failing check's logs and make the necessary changes.

@github-actions github-actions bot added the waiting for update Pull requests or issues that require changes/comments before continuing label Mar 27, 2026
@NotUnHackable NotUnHackable changed the title feat: add custom difficulty option with accuracy threshold feat: add custom difficulty option with accuracy threshold (@NotUnHackable) Mar 27, 2026
@github-actions github-actions bot removed the waiting for update Pull requests or issues that require changes/comments before continuing label Mar 27, 2026
@NotUnHackable
Copy link
Copy Markdown
Author

Done

Copy link
Copy Markdown
Contributor

@Leonabcd123 Leonabcd123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this different from the minimum accuracy setting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff packages Changes in local packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants