No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Adam Mrkva a7bfbe18f5 Refactor switch statement to use arrow syntax
Updated the switch statement in EntityCreator#createEntity to use the Java 14+ arrow syntax for improved readability and conciseness.
2025-11-26 09:41:59 +01:00
src/main/java Refactor switch statement to use arrow syntax 2025-11-26 09:41:59 +01:00
.gitattributes Initial commit 2024-05-01 22:31:37 +02:00
.gitignore change controlled robot color 2024-05-05 23:22:34 +02:00
config.json change controlled robot color 2024-05-05 23:22:34 +02:00
dependency-reduced-pom.xml Updated Java nad JavaFX versions 2025-11-19 17:54:49 +01:00
pom.xml Updated Java nad JavaFX versions 2025-11-19 17:54:49 +01:00
readme.md Update project title in README 2025-11-05 23:34:59 +01:00
requirements.pdf change controlled robot color 2024-05-05 23:22:34 +02:00

Simple 2D Robot Simulator Project

Project Overview

This project is a simple 2D simulation of robots in a bounded rectangular environment with obstacles. It features autonomous and remotely controlled robots that navigate around square obstacles, avoiding collisions and responding to user inputs. Placement of obstacles and robots can be set interactively in the GUI, saved to a file and loaded from a file. Obstacles and robots can be removed by clicking on them with mouse.

obrazek

Team Members

  • Adam Mrkva - xmrkva04
  • Daniel Jacobs - xjacob00

Running the release JAR

After downloading the JAR file, you can run the application using the following command:

java -jar Java-project-1.0.jar

Compilation and Execution From Source

This application is built and managed using Maven. To compile and run the project, follow these steps:

Prerequisites

Ensure that you have Maven installed and correctly setup on your system.

Compiling the Application

  1. Open a terminal or command prompt.

  2. Navigate to the root directory of the project where the pom.xml file is located.

  3. Run the following command to compile the project:

    mvn clean compile
    

Generating javadocs

mvn javadoc:javadoc

Running the Application

After successfully compiling the project, you can run the application using the following command:

mvn javafx:run

This will start the simulation GUI, where you can interact with the robots and the environment.