├── pom.xml
├── src
│ ├── main
│ │ └── java
│ │ ├── diagram
│ │ │ └── ModernArenaClass.puml
│ │ ├── Main.java
│ │ ├── Player.java
│ │ ├── Arena.java
│ │ └── Dice.java
│ └── test
│ └── java
│ ├── PlayerTest.java
│ ├── ArenaTest.java
│ ├── DiceTest.java
│ └── TestSuite.java
└── README.md
- IDE - IntelliJ Idea
- OS - windows 10/11, Linux, MacOS
- Programming Language-Java 11 or above
- Build Tool- maven
- plugin - PlantUml for class diagram
The ModernArenaClass.puml file contains the class diagram for the project.
- I added the JUnit test dependency in Maven.
- Click the retry symbol to build the Maven project in the pom.xml file.
Run the Main.class file to start the application.
- The TestSuite class allows you to run all the tests together. To run all test cases, execute the TestSuite.java file.
- If you want to run a single test, you can run individual test files, such as DiceTest.java, PlayerTest.java, or ArenaTest.java.