check if all tiles played after replacing dead tiles. if so, then end the game.