reeborg icon indicating copy to clipboard operation
reeborg copied to clipboard

Custom message for the maze

Open aroberge opened this issue 1 year ago • 5 comments

When escaping the maze, instead of the standard message image it might be useful to have a custom one, like "Congratulations, you have successfully escaped the maze."

aroberge avatar Aug 19 '24 17:08 aroberge

I don't even get "Reeborge says: I'm done!".

sjlearmonth avatar Aug 19 '24 17:08 sjlearmonth

I don't even get "Reeborge says: I'm done!".

That's because the solution requires Reeborg to stop when stepping out of the maze.

aroberge avatar Aug 19 '24 17:08 aroberge

Yes he does stop right on top of the flag but I still don’t get a message.Sent from my iPhoneStephen J LearmonthMobile: 07757 782537On 19 Aug 2024, at 18:51, André Roberge @.***> wrote:

I don't even get "Reeborge says: I'm done!".

That's because the solution requires Reeborg to stop when stepping out of the maze.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

sjlearmonth avatar Aug 19 '24 17:08 sjlearmonth

Do I need to use the test condition “at_goal()” to decide when to terminate the program?Sent from my iPhoneStephen J LearmonthMobile: 07757 782537On 19 Aug 2024, at 18:59, @.*** wrote:Yes he does stop right on top of the flag but I still don’t get a message.Sent from my iPhoneStephen J LearmonthMobile: 07757 782537On 19 Aug 2024, at 18:51, André Roberge @.***> wrote:

I don't even get "Reeborge says: I'm done!".

That's because the solution requires Reeborg to stop when stepping out of the maze.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

sjlearmonth avatar Aug 19 '24 18:08 sjlearmonth

Yes, you should test that condition. If it is satisfied, you can always use done() to end the program.

aroberge avatar Aug 19 '24 19:08 aroberge