A rummy game ends when the first player to make a valid declaration gets rid of all his/her cards.