What's the bug?
Two rules are not being enforced when input is typed via keyboard:
- Broken buttons (shown in red) can be bypassed by typing on the keyboard.
- Just typing the target number directly (e.g.
116) is accepted as a valid equation — no operators needed.
Steps to verify the bug
- Run the activity
- Note the broken buttons (e.g. 0, 3, 9 shown in red)
- Note the target number (e.g.
116)
- Type
116 directly using your keyboard (don't click any buttons)
- Press Enter
That was my target, your target will be different
Result: 116 = 116 accepted, +17 pts awarded
Expected: Should be rejected — broken digit used + no operator present
Why this happens
Broken button validation only blocks on-screen button clicks. The equation validator doesn't check whether the typed string contains broken digits.
Suggested Fix
The validator should also check:
- Does the equation contain actual target digits? → reject
- Does the equation have at least one operator? → reject if not
Screenshot

What's the bug?
Two rules are not being enforced when input is typed via keyboard:
116) is accepted as a valid equation — no operators needed.Steps to verify the bug
116)116directly using your keyboard (don't click any buttons)That was my target, your target will be different
Result:
116 = 116accepted, +17 pts awardedExpected: Should be rejected — broken digit used + no operator present
Why this happens
Broken button validation only blocks on-screen button clicks. The equation validator doesn't check whether the typed string contains broken digits.
Suggested Fix
The validator should also check:
Screenshot