I tried to create a maze app, but when I use an emulator to test it, it says that "MIT AI2 Companion isn't responding.". At first it works for a while, then after some seconds, it freezes and I could only hear the background music.
Tried to troubleshoot, but it still freezes. Would be grateful for any advice! And also Merry Christmas to you all!
It is a maze game, so the user should be able to control the movement of the sprite by touching the canvas such that the sprite will move either vertically or horizontally towards the point of touch, but it moves within the boundaries of the wall (the black lines) (i.e. it doesn't pass through the walls)
Attached is the pdf of the requirements+ coding tips if it helps F2 CL TermPrj1_2223 (1).pdf (353.7 KB)
I know this may be a strange request, but I just checked the requirements of the assignment and it seems that I must use at least one looping block in the whole program (that is while.....do). Is there a way I can use this block, but it won't freeze the app (like in what cases can I use the looping blocks?) Thank you!
Merry Christmas everyone! May I know how can I use a looping block without freezing the app? I know that this a a strange request, but my project is required to use "at least one looping block (while....do)", no matter it serves any use or not (but it just needs to be there). Thank you everyone in advance for your ideas!