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
P
- player - Variable in class com.neven.ticTacToeGame.model.MiniMaxAlgorithm
-
Field with character to mark a player on game field.
- PLAYER_2_NAME - Static variable in class com.neven.ticTacToeGame.model.PlayerVsAlgorithmGame
-
Constant with a name of the player2(in this case an Algorithm MiniMax).
- PLAYER_2_NAME - Static variable in class com.neven.ticTacToeGame.model.PlayerVsPlayerGame
-
Constant with a name of the player2(in this case an second user for games Player versus Player).
- PLAYER_2_NAME - Static variable in class com.neven.ticTacToeGame.model.PlayerVsRandomGame
-
Constant with a name of the player2(in this case "Random").
- PLAYER_VS_ALGORITHM - com.neven.ticTacToeGame.utils.GameTypes
-
Type of game for
PlayerVsAlgorithmGame
. - PLAYER_VS_PLAYER - com.neven.ticTacToeGame.utils.GameTypes
-
Type of game for
PlayerVsPlayerGame
. - PLAYER_VS_RANDOM - com.neven.ticTacToeGame.utils.GameTypes
-
Type of game for
PlayerVsRandomGame
. - player1 - Variable in class com.neven.ticTacToeGame.model.Game
-
Field with a name of the player(always user) which uses to fill the game field and checking wins.
- player1win - Variable in class com.neven.ticTacToeGame.model.Game
-
Field which contain
Boolean
value is the user is win.
Default value "false". - player2 - Variable in class com.neven.ticTacToeGame.model.Game
-
Field with a name of the player, depend on type of the game and initialized in constructor, which uses to fill the game field and checking wins.
- player2win - Variable in class com.neven.ticTacToeGame.model.Game
-
Field which contain
Boolean
value is the player 2 is win.
Default value "false". - PlayerVsAlgorithmController - Class in com.neven.ticTacToeGame.controller
-
Class
PlayerVsAlgorithmController
is a Spring Boot Controller class witch allow to serve HTTP requests from pages with Player versus Algorithm game. - PlayerVsAlgorithmController(StatisticService) - Constructor for class com.neven.ticTacToeGame.controller.PlayerVsAlgorithmController
-
Create class with an injection of statistic service for games with an algorithm(MiniMax).
- PlayerVsAlgorithmGame - Class in com.neven.ticTacToeGame.model
-
Class
PlayerVsAlgorithmGame
extendGame
class and implement his two abstract methods for game with an Algorithm MiniMax(MiniMaxAlgorithm
). - PlayerVsAlgorithmGame() - Constructor for class com.neven.ticTacToeGame.model.PlayerVsAlgorithmGame
-
Constructor for class
PlayerVsAlgorithmGame
.
Initialize parent(Game
class) constructor with a name of second player. - PlayerVsPlayerController - Class in com.neven.ticTacToeGame.controller
-
Class
PlayerVsPlayerController
is a Spring Boot Controller class witch allow to serve HTTP requests from pages with Player versus Player game. - PlayerVsPlayerController() - Constructor for class com.neven.ticTacToeGame.controller.PlayerVsPlayerController
- PlayerVsPlayerGame - Class in com.neven.ticTacToeGame.model
-
Class
PlayerVsPlayerGame
extendGame
class and implement his two abstract methods for games Player versus Player. - PlayerVsPlayerGame() - Constructor for class com.neven.ticTacToeGame.model.PlayerVsPlayerGame
-
Constructor for class
PlayerVsPlayerGame
.
Initialize parent(Game
class) constructor with a name of second player. - PlayerVsRandomController - Class in com.neven.ticTacToeGame.controller
-
Class
PlayerVsRandomController
is a Spring Boot Controller class witch allow to serve HTTP requests from pages with Player versus Random(randomly filled empty game fields) game. - PlayerVsRandomController() - Constructor for class com.neven.ticTacToeGame.controller.PlayerVsRandomController
- PlayerVsRandomGame - Class in com.neven.ticTacToeGame.model
-
Class
PlayerVsPlayerGame
extendGame
class and implement his two abstract methods for games Player versus Random(random generated moves). - PlayerVsRandomGame() - Constructor for class com.neven.ticTacToeGame.model.PlayerVsRandomGame
-
Constructor for class
PlayerVsRandomGame
.
Initialize parent(Game
class) constructor with a name of second player. - playerWin - Variable in class com.neven.ticTacToeGame.entity.Statistic
-
Field with amount of player wining against an algorithm.
All Classes All Packages