Square Ball Mit app

I am working on project, and I am facing some errors, e.g I have 5–6 blocks for button1.click and there is a runtime error in in this app, Please help me correct it
3143AC55-9CBA-4E55-954C-A00AC5EC1105_4_5005_c

I am working on project, and I am facing some errors, e.g I have 5–6 blocks for button1.click and there is a runtime error in in this app, Please help me correct it
[/quote]

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia

i have add it below as a reply

Where :question:

BallInSquare_copy_copy.aia (6.1 KB)

Here. Thank you

BallInSquare_copy_copy.aia (6.1 KB)

I am running your project in an emulator, and clicking the button furiously.

I haven't seen any error message yet.

What error message did you get?

Also, I notice your squares have tails. Is that a problem for you?

What is supposed to happen if the ball appears in the square?

image

1 Like


More of the same.

Your message logic is confusing.

When do you win?
When do you lose?
When should you be asked to try again?

Basically, what I am trying to do is have the user click the button, and a square will be drawn, then the ball will randomly move, so when the ball enters the square, it says, User, "win!" Then reset. the loss and asking again were just some thing I was trying out but I feel like it don't fit in.

Also, I notice your squares have tails. Is that a problem for you? The square is not supposed to have a tail; those are the errors I was getting.
What is supposed to happen if the ball appears in the square? You Win

So what is the count for?

to count the score, but I believe I have made a lot of mistakes while trying to add new stuff, and I am kind of lost. but what I want to do is get the ball in the square

image
BallInSquare.aia (4.8 KB)


This is closer to what you asked for, if not what you wanted.

Yes it is, I really appreciate it.