Type ether "red" or "black". If 3 or more cards are the color you selected, you win! Click the green flag to play again.
Thanks to the book Card Night for teaching me how to play, and to the actual game Red or Black for inspiring me to make a coded version of it.