play_game checks if game is over after each move