This work aims to analyze the various strategies used by players in the popular strategy game "Heroes of Might and Magic 3" (HoMM3) and to systematize them within a structured system. Although there are many resources that explain general strategies in the game, there are currently very few resources that can recommend optimal strategies for specific battle situations in real-time.
To get a local copy up and running, follow these simple steps.
To run the bash script and Docker files, ensure you have the following installed:
-
Java Development Kit (JDK): Ensure JDK 22 or higher is installed.
java -version
-
Apache Maven: Ensure Maven is installed.
mvn -version
-
Docker: Ensure Docker is installed and running.
docker --version
The provided bash script builds the modules and starts the Spring Boot application. Follow these steps:
-
Clone the repository:
git clone https://github.com/slepimis120/Stefan_Nemanja cd Stefan_Nemanja
-
Run the Docker images: After navigating to the parent directory of
Stefan_Nemanja
, run:docker-compose up -d --build
-
Navigate to the backend folder: After navigating to the backend part of the project, run this to make the script executable:
chmod +x run-spring-boot.sh
-
Lastly, run the script:
./run-spring-boot.sh
Building Docker performs the following steps:
- Starts PostgreSQL container.
- Starts React frontend application
Running the script performs the following steps:
- Start the Spring Boot application from the
service
directory.