If you successfully move all your pieces to the center of the board first, you win the game and earn rewards based on the room's stakes.