A C D E F G I M N P R S T U V W 
All Classes All Packages

S

setWinner() - Method in class com.neven.ticTacToeGame.model.Game
The method set current user as a winner.
startGameWithAlgorithm(String) - Method in class com.neven.ticTacToeGame.controller.PlayerVsAlgorithmController
Allow to serve HTTP requests for requests "{pageContext}/game/algorithm/{whoStart}" by method GET.
startGameWithPlayers() - Method in class com.neven.ticTacToeGame.controller.PlayerVsPlayerController
Allow to serve HTTP requests for requests "{pageContext}/game/players" by method GET.
startGameWithRandom(String) - Method in class com.neven.ticTacToeGame.controller.PlayerVsRandomController
Allow to serve HTTP requests for requests "{pageContext}/game/random/{whoStart}" by method GET.
Statistic - Class in com.neven.ticTacToeGame.entity
Class Statistic is an entity which contain an information about results of the games with an Algorithm MiniMax.
Statistic() - Constructor for class com.neven.ticTacToeGame.entity.Statistic
 
STATISTIC_MODEL_ATTRIBUTE_NAME - Static variable in class com.neven.ticTacToeGame.controller.PlayerVsAlgorithmController
Constant with a name of the model attribute for statistic.
STATISTIC_MODEL_NAME - Static variable in class com.neven.ticTacToeGame.controller.MainPageController
Constant with model attribute name for statistic.
STATISTIC_NAME - Static variable in class com.neven.ticTacToeGame.entity.Statistic
Constant wit a name of statistic.
statisticRepository - Variable in class com.neven.ticTacToeGame.service.StatisticService
Field with injected in constructor StatisticRepository.
StatisticRepository - Interface in com.neven.ticTacToeGame.repository
This interface is a repository for Statistic class.
statisticService - Variable in class com.neven.ticTacToeGame.controller.MainPageController
This is an injected statistic service(StatisticService) witch allow to get statistic for games with an algorithm(MiniMax) from DB.
statisticService - Variable in class com.neven.ticTacToeGame.controller.PlayerVsAlgorithmController
This is an injected statistic service(StatisticService) witch allow to get(from DB) and update(save to DB) statistic for games with an algorithm(MiniMax).
StatisticService - Class in com.neven.ticTacToeGame.service
Class StatisticService uses StatisticRepository for providing CRUD operations on Statistic.
StatisticService(StatisticRepository) - Constructor for class com.neven.ticTacToeGame.service.StatisticService
Constructor for class StatisticService.
Initialize StatisticService.statisticRepository by incoming object of StatisticRepository.
switchCurrentPlayer() - Method in class com.neven.ticTacToeGame.model.Game
The method is switch the current player.
A C D E F G I M N P R S T U V W 
All Classes All Packages