The game ends when a player has no more tiles, and there are no more tiles in the bag. After the last tile is played, the other player will lose points for the total score of their tiles. These points are given to the person who played the final move. The player with the highest score wins.