Looks like it is a misunderstanding about the "empty deck" and the end, as when the deck is empty, there is still ONE tile in hand to play and if there is no move available for this very last tile, it's game over.