A B C E F G H L M O P S U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
G
- Game - Class in com.abhyudayasharma.tictactoe
-
This class contains logic for the AI of the game and maintains the UI.
- Game() - Constructor for class com.abhyudayasharma.tictactoe.Game
- gameFrame - Variable in class com.abhyudayasharma.tictactoe.Game
-
The containing the game.
- gameOver(String) - Method in class com.abhyudayasharma.tictactoe.Game
-
Finishes the game and asks the user whether he/she wants to play again.
- getExpectedSum() - Static method in class com.abhyudayasharma.tictactoe.MagicSquare
-
Returns the expected sum of every diagonal, row and column of the Magic Square.
- getMagicSquare(int) - Static method in class com.abhyudayasharma.tictactoe.MagicSquare
-
Calculates and returns a new magic square object.
- getNextPlayer() - Method in class com.abhyudayasharma.tictactoe.Game
-
Returns the player who has the next turn.
All Classes All Packages