KSamin / MagicalArenaGame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Title: Magical Arena Game

File Structure

├── 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

Requirement

  1. IDE - IntelliJ Idea
  2. OS - windows 10/11, Linux, MacOS
  3. Programming Language-Java 11 or above
  4. Build Tool- maven
  5. plugin - PlantUml for class diagram

Instructions

ModernArenaClass.puml for class diagram

The ModernArenaClass.puml file contains the class diagram for the project.

Build Maven

  1. I added the JUnit test dependency in Maven.
  2. Click the retry symbol to build the Maven project in the pom.xml file.

Run Main

Run the Main.class file to start the application.

Running Tests

  1. The TestSuite class allows you to run all the tests together. To run all test cases, execute the TestSuite.java file.
  2. If you want to run a single test, you can run individual test files, such as DiceTest.java, PlayerTest.java, or ArenaTest.java.

About


Languages

Language:Java 100.0%