A C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
P
- PEARL - api.State
- Pearls - Class in hw3
-
Basic game state and operations for a the puzzle game "Pearls", which is a simplified version of "Quell".
- Pearls(String[], PearlUtil) - Constructor for class hw3.Pearls
-
Constructs a game from the given string description.
- PearlUtil - Class in hw3
-
Utility class containing the key algorithms for moves in the Pearls game.
- PearlUtil() - Constructor for class hw3.PearlUtil
- PLAYER_CHAR - Static variable in class api.StringUtil
-
Character for representing the player position in the grid.
- PLAYER_IN_GATE_CHAR - Static variable in class api.StringUtil
-
Character for representing the player position in the grid, when the player lands on a gate.
- PLAYER_IN_PORTAL_CHAR - Static variable in class api.StringUtil
-
Character for representing the player position in the grid, when the player lands on a portal
- PLAYER_IN_SPIKES_CHAR - Static variable in class api.StringUtil
-
Character for representing the player position in the grid, when the player lands on spikes.
- PORTAL - api.State
- PortalInfo - Class in api
-
Stores information about a portal for use when creating a Pearls grid from a string representation.
- PortalInfo(char, int, int) - Constructor for class api.PortalInfo
-
Constructs a PortalInfo object.
- printCellArray(Cell[]) - Static method in class api.StringUtil
-
Prints an array of Cells using the character representations defined in this class.
- printGrid(Pearls) - Static method in class api.StringUtil
-
Prints out a game's grid.
- printGrid(String[]) - Static method in class api.StringUtil
-
Prints a string array as a 2D grid.
- printStateArray(State[], int) - Static method in class api.StringUtil
-
Prints an array of States using the character representations defined in this class.
- printString(String) - Static method in class api.StringUtil
-
Prints a string with an extra space between characters.
All Classes All Packages