Building an aBART from scratch?

OS (e.g. Win10): Windows 10
PsychoPy version (e.g. 1.84.x): 1.84.0

What are you trying to achieve?: I am trying to build an automatic BART from the ground up. One of the main things I am having trouble with is how to create a text box within the task that lets the participant enter a number and then the balloon will automatically pump up.

What did you try to make it work?: Nothing really I am trying to figure out how I would put everything together. Since I have never really coded before I am having trouble trying to figure out how to build it.

This is how I want the text box to look

This is overall the look I am going for

Finally I want to have a feedback thing that would tell the participant how many pumps it would have taken to pop the balloon

I know it is alot but any help is much appreciated, we have a manual bart set up here but I do not know how to add on it to it to make it automatic

Thank you!