AP 2022 final project
First clone the project. It might take a while becuase of the images.
git clone https://github.com/PouyaRahimpour/AdvancedProgramming-game
Then run
javac --module-path $PATH_TO_FX --add-modules javafx.controls,javafx.fxml --add-modules javafx.controls,javafx.media src/pkg/Main.java src/pkg/Castle.java src/pkg/Controller.java src/pkg/Drag.java src/Heroes/Hero.java src/Heroes/Elf_01.java src/Heroes/Elf_02.java src/Heroes/Elf_03.java src/Heroes/Fairy_01.java src/Heroes/Fairy_02.java src/Heroes/Fairy_03.java src/Heroes/Knight_01.java src/Heroes/Knight_02.java src/Heroes/Knight_03.java src/Heroes/Warrior_01.java src/Heroes/Warrior_02.java src/Heroes/Warrior_03.java
java --module-path $PATH_TO_FX --add-modules javafx.controls,javafx.fxml --add-modules javafx.controls,javafx.media -classpath ./src pkg.Main