This project is a UNO card game implemented in Java, where you can play between a single player and the computer. It runs in the terminal/console and allows you to experience the fun of UNO in a simple, text-based format.
-
Single Player vs Computer: Play UNO against an AI opponent.
-
Classic UNO Rules: Includes standard UNO game rules such as drawing cards, skip, reverse, wild cards, and more.
-
Terminal Interface: A simple and easy-to-use terminal-based interface for interacting with the game.
-
Game Flow: The game follows the standard UNO flow with each player taking turns to play their cards until one wins by getting rid of all their cards.
- Java 8 or higher is required to run the game.
- Clone the repository to your local machine:
git clone https://github.com/kmushapho/unoJava.git- Navigate to the project directory
cd unoJava/src- Compile the Java file
javac Main.java- Run the Game
java Main.java-
Turn-based play: You and the computer take turns to play cards.
-
Match Cards: To play a card, match it with the current card on the top of the discard pile by color or number.
-
Special Cards: Use special cards like skip, reverse, and wild cards strategically to gain an advantage.
Contributions are always welcome! If you would like to contribute to any of the projects, feel free to fork the repository, make changes, and submit a pull request. Suggestions for new features or improvements are also encouraged!