This is part of my code for a simple tic tac toe.

How can I stop the game from running?