Welcome to the Card Games Collection repository! This project contains a set of three card games implemented in Java. The games included in this collection are Barsa, Go Fish, and Pontoon. Each game can be played by users through a simple and interactive command-line interface.
To get started with the Card Games Collection, you need to have Java and Maven installed on your system. Follow the instructions below to clone and run the project:
-
Clone the repository:
git clone https://github.com/rdmoustafa/card-games.git cd card-games
-
Build the project:
mvn clean install
-
Run the application:
mvn exec:java -Dexec.mainClass="GameLaunch"
After running the application, you will be prompted to select one of the three card games to play. Follow the on-screen instructions to play the game of your choice.
Barsa is a popular card game in some regions. The objective is to gather as many cards as possible.
Go Fish is a simple and fun card game suitable for all ages. The objective is to collect as many sets of four cards of the same rank as possible. Players ask each other for specific cards and draw from the deck if the requested card is not available.
Pontoon is a classic casino card game, similar to Blackjack. The objective is to get a hand total as close to 21 as possible without exceeding it. Players compete against the dealer to get the highest hand total.
Contributions are welcome! If you find any issues or have suggestions for new features, please open an issue on the GitHub repository. If you'd like to contribute code, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your forked repository.
- Open a pull request against the main repository.
This project is licensed under the MIT License.