This project began as an attempt to create a functional poker game, in which many people could participate.
I began by defining a card, and making sure I was able to determine its rank, suit, and image.
Next, a deck of the 52 cards was created.
I then went on to display the cards according to their ranks and suits.
From there, I developed the ability to construct and display, visually, a five-card hand.
Finally, I established code to allow the user to begin a game with up to ten players.
Update: Hand winner is now determined visually!
The classes used for this project are provided below with descriptions.
This class represents a single Card.
This class represents a deck of 52 cards.
This class represents the images of all of the cards.
This class represents a five-card hand.
This class displays a single inputted five-card hand.
This class displays a game with up to ten players, all with five-card hands.
This class provides test cases for displaying single cards, different types of five-card hands, and also different MultiPlayer game scenarios.