Skip to content

New challenges: square roots - #303

Merged
msbelaid merged 1 commit into
msbelaid:masterfrom
Enoch02:square-roots-pr
Nov 23, 2026
Merged

msbelaid merged 1 commit into
msbelaid:masterfrom
Enoch02:square-roots-pr

Conversation

@Enoch02

@Enoch02 Enoch02 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

What

Adds two square-root challenge types at levels 3 and 7: √4 to √100 and √121 to √400. Each picks the answer first and squares it, so the root is always a whole number. Both challenges are registered in ChallengesModule, covered by unit tests, and the UI test driver now recognizes and solves √n = ?.

Closes #272

Checklist

  • ./gradlew ktlintCheck passes
  • ./gradlew test passes
  • Paparazzi snapshots updated (recordPaparazziDebug) if UI changed
  • Uses design system components and tokens
  • New strings added to values/strings.xml (English only)
  • Tested on a device or emulator

@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

APK size

Release APK
master 4.05 MB
this PR 4.05 MB (+0.0 KB, +0.00%)

Release build signed with the CI test key, at f6bba24.

@msbelaid msbelaid left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Approving, thanks! One heads up: in right to left languages like Arabic and Persian, the expression will display reversed (√49 = ? shows as ? = 49√). That’s an existing issue across all challenges, not something this PR introduced, and I’ll fix it separately.

@msbelaid
msbelaid merged commit c154cf1 into msbelaid:master Nov 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New challenge: square roots

2 participants