Added a "Tie-checking" system that checks each turn if the game is a tie, and if it is the game quis.