as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
write the rules for a card game.
user
the rules of the card game are as follows:

1. the game is played between two to four players. 
2. each player is dealt five cards. 
3. the first player puts down one card that is either of the same suit or rank as the card previously put down. if a player cannot put down a card they must draw three cards from the remaining cards in the deck. 
4. the game ends when one player has no more cards or the deck is depleted of cards. 
5. the player with the most cards left in their hand when the game ends is the winner.
assistant