Download this outline card game code and try to complete it.
The original design is in these CS102_CardGame slides.