Adjacency Strategy game is a two-players game where both players try to get as many marks as the could. One player will be using the cross mark (X) while the other player will be using the circle mark (O). The game will be commenced on an 8x8 board. The game will end if either the board is full or the game has 0 rounds left.
Players can be a human player or a bot. A bot in this game is developed using several algorithm with implementing Artificial Intelligence principles. The algorithm consists of:
- The Local Search: Sideways Move,
- The Local Search: Simulated Annealing,
- The Minimax Alpha Beta Pruning, and
- The Genetic Algorithm.
Here are the things needed to run the program:
No | Required Program | Reference Link |
---|---|---|
1 | JDk v20 | Java Compiler |
2 | JavaFX | JavaFX |
3 | IntellIJ IDEA | IntellIJ IDEA |
- Clone this repository
git clone https://github.com/Gulilil/IF3170_Tubes1.git
- Download JavaFX and change JavaFX in the repository with the extracted JavaFX folder
- Open this directory in IntellIJ IDEA as a new project
- Edit the project structure in IntellIJ
File > Project Structure
- Go to Project Section in Project Settings, set the JDK version used in the program
- Go to Libraries Section in Project Settings, add a library for the program to detect the JavaFX.
- Back to the main screen, edit the run configuration of the project
Run > Edit Configurations
- Add this command on the VM option and the run setting to
Main
object
--module-path {path to JavaFX} --add-modules=javafx.controls,javafx.fxml
- Run the program
Name | ID |
---|---|
Alexander Jason | 13521100 |
Juan Christopher Santoso | 13521116 |
Nathania Calista Djunaedi | 13521139 |
Antonio Natthan Krishna | 13521162 |