Complex sentence: A player who solves a set takes its cards and replenishes their pile, after the fashion of War; players are eliminated when they no longer have any cards.
Split into simpler sentences: A player who solves a set takes its cards and replenishes their pile, after the fashion of War. Players are eliminated when they no longer have any cards.