Lian
November 10, 2025, 10:37pm
1
hello
English isn't my first language so I'm sorry if this sounds off
i have an assignment where i have to make an app where it shows a number from -999 to 999 where it shows the number using photos abd the user has to input the text so it matches the photos
i feel like i made it overcomplicated i would like
NumberGussingGame.aia (614.2 KB)
some help as to what to change im not sure what to do now
ABG
November 10, 2025, 10:54pm
2
Use the Companion's Do It to see what you are comparing.
I had to replace
with
because you were ignoring the textbox input.
In this sample run, the images said 223 but your app thought the number was 253.
ABG
November 11, 2025, 12:46am
3
Text comparison is tricky. Where does the '-' sign appear in the ASCII table compared to '0'?
This is safer.
Example of how text comparison breaks math:
This should be false, because -2 is less than -1.
ABG
November 11, 2025, 12:52am
4
This is a lazier way to get the 3 digits of a number in the range 100 to 999:
ABG
November 11, 2025, 1:03am
5
For the comparison code, change
to
Notice how the color is set separately from the text.
That explains the funny numbers after your correct/wrong announcements. Those were color values.
I also threw in updating the scores.
ABG
November 11, 2025, 1:07am
6
NumberGussingGame.aia (614.3 KB)
I also emboldened your buttons, and enlarged their font sizes, for readability.
1 Like
Lian
November 11, 2025, 6:22am
7
I'm sorry for the late replay and thank you yeah this is much easier to understand then what i made
have a good day!
system
Closed
November 18, 2025, 6:22am
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.