I have a student making a simulated store in the console. When the game is run at full speed, the console doesn’t update and the prompt window keeps displaying over and over again. However, if he adds a break point and runs the code step by step, it works just fine. Can you please explain to me why the console does not stay current while his program is running?
Also as a quick follow up, I was going to recommend using the console for the create task because it is easier to create an algorithm that contains two other algorithms. Does anyone know if the main algorithm can be several event listeners? Otherwise using a while loop with a prompt seems to be the better option.
link from student w comment:
this code doesn’t work in the normal functionality of code studio, but it does work in the debug mode