The function switch_and_setup_state could be broken down into smaller helper functions. Name the functions based on what they do for the game. That way switch_and_setup_state makes the algorithm easier to understand.
wat do u mean
when it runz it supposed to run all the code its supposed to when da state variable is changed to the thingy
What exactly are we supposed to do here?
oops new link https://makecode.microbit.org/S03331-24666-95631-15522