Hello! I've struggled to make a solution to this but I can't seem to land on it.
I've managed to research a way to print my board and get user input, but I can't seem to figure out how to create an input validation that stops one player from choosing a used place on the board. The code as it is right now just switches turns once before sticking on player O.
Create a while loop. In the loop get user input, a space on your board. The space should be blank. If the space is blank end the loop. If the space is taken already then output "Invalid move. This space is taken already dummy!" and continue the loop.