Simple battleship app for NTUA medialab course created with Java FX.
- cd to the project's dir
- use:
java -jar --module-path "PATH_TO_JAVAFX" --add-modules javafx.controls,javafx.fxml battleship.jar
Running this requires for you to have JavaFX installed in your computer
After this you should be able to see the image below:
-
Type player_default[x].txt where x can be any number to initialize a board.
-
You can create more initialization boards and add them to PlayerFiles.
If everything worked fine you should see something like this:
For further details on the game see instructions.md