Suggestions on making this type of exercise?

Anyone have a suggestion on creating an app that can solve these kind of exercices?

The user has to connect a dot on the left with a dot on the right. But... they must also be able to delete a connection they made. It should also be possible (if I allow it) to connect a dot on the left to multiple dots on the right.

Maybe there are built in tricks like "hey use this in ZIM, it will be the easiest way to do it" that I'm not aware off?

1 Like

Connectors should be able to handle this... let us do a little test run - have not used them in a while.

I @EducaSoft I made this already idea the same

https://zimjs.com/beam/xverbindoefeningen/show
I made this simple version with ZIM Connectors()

Nice. Your example only connects if right. It sounds like Bart wants to be able to connect if wrong or right... and be able to change your mind. Maybe trigger a correct if it is correct - or press a check button to see if correct.

1 Like

Here is an example...

I made also this
with connectors
clicking a green line becomes grey (not clickable anymore) + lines can be removed by clicking on them

image example : no connectors but shadows connecting with speech shadows

This one works and illustrates the basics, thanks Dan

Karel,

NICE your underwater schatkaart + check. I did manage to do some stupid moves, but hey as long as the system detects them as "not correct" it's perfectly ok.

Your code also demonstrates coloring the lines and removing them. Actually, this is about 99% what I need.

Dan wins in terms of code size and simplicity. You win in terms of functionality. Now its up to me to combine :wink:

2 Likes

Thanks for your kind words.. belgian code friend
Very nice and simple @Abstract
Love ZIM from the first day!