I’m doing the simon calculator and I’m stuck on getting the program to wait for a user to press a button.
Basically I want the flow to be
//Computer presses button function
//Player presses button function
//Checks if player made right move function
How do I get the third function to wait for the second function to have a value before it checks if it is the right move?
https://codepen.io/amthomps/pen/YrZrBK?editors=0111