Choose the game rules before starting. The card drawing code is kept in clearly marked sections so card backs and fronts are easy to replace later.