Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.05 KB

TicTacToe minimax

To start execute:

./mvnw clean install
./mvnw javafx:run -pl gui

Application GUI was created using JavaFX. I tested it on both macOS and Linux.

Contributors Guide

SceneBuilder setup

  1. Make sure to upgrade to SceneBuilder 17.0 Import Step 0

  2. Create a JAR with GameBoard custom control

./mvnw clean package

This will create gui/target/gui-1.0.0-SNAPSHOT.jar file.

  1. Import JAR into SceneBuilder

Open JAR/FXML Manager: Import Step 1

Select "Add Library/FXML from file system" option and select gui/target/gui-1.0.0-SNAPSHOT.jar file.

Select only GameBoard control: Import Step 2

If GameBoard does not show up on the list, you need to check SceneBuilder version. You have to use SceneBuilder compatible with JDK and JavaFX versions used in the project.

  1. Now you should be able to open MainWindow.fxml in SceneBuilder Import Finished