- Download the JavaFX SDK from here
- Download IntelliJ IDEA
- Clone this repository
- Open the project in IntelliJ IDEA
- Add the JavaFX SDK to the project
- Go to File > Project Structure > Libraries
- Click on the + button and select "Java"
- Navigate to the location of the JavaFX SDK and select the "lib" folder
- Click OK
- Go to Run > Edit Configurations
- Select Modify Options > Add VM Options
- Add the following arguments to the VM Options field, replacing '...' with the path to where
the JavaFX SDK is installed
--module-path /.../javafx-sdk-24.0.2/lib --add-modules javafx.controls,javafx.fxml, javafx.web
- Click OK
- You're ready!
Before starting the game, you can adjust the below settings within the code (all in Main.java,
starting on line 77)
runBenchmarkOnly- Whether to run the benchmark or not (you can probably ignore this; also note that the benchmark could be in different states based off of what has been benchmarked recently)whitePlayerHuman- Whether the white player is a human or a botblackPlayerHuman- Whether the black player is a human or a botallottedTime- the number of seconds the bot has to move
- Click or drag a piece to move it
- Use
cmd+z/left arrow/a/jto undo a move - Use
cmd+y/cmd+shift+z/right arrow/d/lto redo a move - Right click for pencil markings (drag for arrows)