Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.7 KB

README.md

File metadata and controls

60 lines (39 loc) · 1.7 KB

uno-game

java

                                 ____ ___        ________
                                |    |   \ ____  \_____  \
                                |    |   //    \  /   |   \
                                |    |  /|   |  \/    |    \
                                |______/ |___|  /\_______  /
                                              \/         \/

The game developed just for fun without looking to any already existing implementations.

A single player can play with 1-9 bots, or 2-10 bot players can play themselves.

There is a basic bot behavior implemented with a simple choose-cart strategy, which might be improved or worsened, implementing corresponding interfaces and extending/adjusting the basic behavior.

Rules

The rules are based on Official Rules, but without points counting and multiple iterations*.

  • * also, Wild Draw Four card can be played without any restrictions and penalties, (but bots play it fairly when no such color or any other options).

Start the Game

Java 17+ is required.

java -jar uno-game-1.0-SNAPSHOT-jar-with-dependencies.jar

Game Process

  • Enter your name and use follow instructions for choose card or color.
  • Press ENTER/RETURN to move forward.
  • Append your input with +U to say UNO!
  • Enter an empty name to skip the game if you like the bots play alone.

Build with Unit and Integration Tests

./mvnw clean verify

Build (skip tests)

./mvnw clean package -DskipTests

Unit Tests Coverage

See target/jacoco-ut/index.html report.