Added win condition into game.