Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 697 Bytes

File metadata and controls

28 lines (18 loc) · 697 Bytes

Pràctica 2 SCP

Interfície gràfica (GUI)

  1. Anar al fitxer SimulationMain.java
  2. Fer click al botó "Run" del mètode main.

Programa de proves (CLI)

Des de la terminal (Linux):

make                         # Compile the Java files
make run ARGS="50 50 200 4"  # Run the program with specified arguments
make clean                   # Clean the compiled files

Des de Visual Studio Code:

  1. Anar al fitxer CliMain.java
  2. Fer click al botó "Run" del mètode main.

Arguments:

<width> <height> <steps> [numThreads] [randomSeed] [fishProbability] [sharkProbability]