Poker: Texas hold 'em This program will deal two two-card hands and five community cards. It will then say whether each player has a flush or a straight.