Queues

This program is a simulation of the card game War.

Rules:

The output should look something like the file at this link. Your output does not need to look exactly like mine, but it should be formatted and lined up so that it is easy to read. The output must provide all of the same information at a minimum.

Date Types

Your queues MUST be the stl deque type.

You will need to have queues of type Card, so you will need to define a Card datatype. For this problem, comparing two cards should be based on the face value of the card ( ignore the suit ). Make this type do the work for you ( comparisions, output, etc. ).

You cards will need to be initalized and shuffled. There are stl functions that can do all of this for you, use them ( random_shuffle and for_each ).

This program is due on February 18th.

The Goals