Can playable as turn based player 1 vs player 2 mode and player vs computer.
Minimax is a decision-making algorithm, typically used in a turn-based, two player games.
The goal of the algorithm is to find the optimal next move.
https://en.wikipedia.org/wiki/Minimax
https://www.baeldung.com/java-minimax-algorithm
https://towardsdatascience.com/how-a-chess-playing-computer-thinks-about-its-next-move-8f028bd0e7b1