Fixed bug where game would not terminate as soon as a player won