Skip to content

Tic Tac Toe 3x3, 4x4, 5x5 game based on alpha-beta algorithm with GUI in JavaFX.

License

Notifications You must be signed in to change notification settings

marcin-chwedczuk/xox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tic Tac Toe 3x3, 4x4, 5x5 game based on alpha-beta algorithm with GUI in JavaFX.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published