[Solved] Loop not ending
The while loop will continue as long as temp is true. In the nested if-statement we set temp as false which exits the loop. As for the playerPick: the variable is declared outside of the loop so It should be accessible anywhere within the function that is below the declaration (code is read top down … Read more