A C D E F G I M N P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
M
- main(String[]) - Static method in class com.neven.ticTacToeGame.TicTacToeGameApplication
- MAIN_PAGE_NAME - Static variable in class com.neven.ticTacToeGame.controller.MainPageController
-
Constant with a name of main page view.
- mainPage() - Method in class com.neven.ticTacToeGame.controller.MainPageController
-
Allow to serve HTTP requests for requests "{pageContext}/" by method GET.
- MainPageController - Class in com.neven.ticTacToeGame.controller
-
Class
MainPageController
is a Spring Boot Controller class witch allow to serve HTTP requests from main page of application. - MainPageController(StatisticService) - Constructor for class com.neven.ticTacToeGame.controller.MainPageController
-
Create class with an injection of statistic service(
StatisticService
) to show results of the games with an algorithm(MiniMax) on main page. - makeFirstMove() - Method in class com.neven.ticTacToeGame.model.Game
-
The abstract method should consist the logic how exactly the extended
Game
should make first move. - makeFirstMove() - Method in class com.neven.ticTacToeGame.model.PlayerVsAlgorithmGame
-
This method overrides parent
Game.makeFirstMove()
method. - makeFirstMove() - Method in class com.neven.ticTacToeGame.model.PlayerVsPlayerGame
-
This method overrides parent
Game.makeFirstMove()
method. - makeFirstMove() - Method in class com.neven.ticTacToeGame.model.PlayerVsRandomGame
-
This method overrides parent
Game.makeFirstMove()
method. - makeMove() - Method in class com.neven.ticTacToeGame.model.Game
-
The abstract method should consist the logic how exactly the extended
Game
should make move. - makeMove() - Method in class com.neven.ticTacToeGame.model.PlayerVsAlgorithmGame
-
This method overrides parent
Game.makeMove()
method. - makeMove() - Method in class com.neven.ticTacToeGame.model.PlayerVsPlayerGame
-
This method overrides parent
Game.makeMove()
method. - makeMove() - Method in class com.neven.ticTacToeGame.model.PlayerVsRandomGame
-
This method overrides parent
Game.makeMove()
method. - miniMax(char[][], int, Boolean) - Method in class com.neven.ticTacToeGame.model.MiniMaxAlgorithm
-
This method is a recursive method which evaluate all possible results of the game and return value of game board (using method
MiniMaxAlgorithm.evaluate(char[][])
).The method call itself, increasing deepness of the "tree" with all possible game combination, till game will be finished. - MiniMaxAlgorithm - Class in com.neven.ticTacToeGame.model
-
The
MiniMaxAlgorithm
class is a class which contain The Algorithm MiniMax and methods that allow to The Algorithm MiniMax make an analysis of the game field, evaluate any possible future moves of algorithm and user and make a chose what move will be less harmful for the result of the game. - MiniMaxAlgorithm(Game) - Constructor for class com.neven.ticTacToeGame.model.MiniMaxAlgorithm
-
Constructor for class
MiniMaxAlgorithm
.
Constructor initializedMiniMaxAlgorithm.game
field by incoming paramPlayerVsAlgorithmGame
value.
All Classes All Packages