Uses of Class
edu.wisc.game.sql.Board
| Package | Description |
|---|---|
| edu.wisc.game.engine |
Top-level Game Server code
|
| edu.wisc.game.rest |
The RESTful web API
|
| edu.wisc.game.saved | |
| edu.wisc.game.sql |
Persistent data structures
|
-
Uses of Board in edu.wisc.game.engine
Methods in edu.wisc.game.engine that return Board Modifier and Type Method Description BoardStalemateTester. canStalemate(Piece.Shape[] shapes, Piece.Color[] colors, String[] allImages)Is there any board composed of any pieces of the specified colors and shapes on which this rule set will stalemate? As always, we assume that all atoms in the rules are "non-disappearing", i.e.Methods in edu.wisc.game.engine with parameters of type Board Modifier and Type Method Description static booleanBoardConditionsChecker. boardIsAcceptable(Board board, RuleSet rules, boolean testing)In the training mode, the board is acceptable if no game piece satisfies any condition (i.e. -
Uses of Board in edu.wisc.game.rest
Methods in edu.wisc.game.rest that return Board Modifier and Type Method Description BoardGameService. getBoard(String id)Gets a Board object by IDBoardNewEpisodeWrapper. getBoard()BoardGameService. getBoard1()BoardGameService. getBoard2()BoardGameService. saveBoard(Board b)Methods in edu.wisc.game.rest that return types with arguments of type Board Modifier and Type Method Description Vector<Board>BoardDisplayService.BoardList. getBoards()Methods in edu.wisc.game.rest with parameters of type Board Modifier and Type Method Description voidBoardDisplayService.BoardList. addBoard(Board c)static StringBoardDisplayService. doBoard(Board board, int cellWidth)Given a Board object, creates an HTML snippet containing a visual display of the board.static StringBoardDisplayService. doBoardAscii(Board board)The ASCII-art alternativeBoardGameService. saveBoard(Board b)voidNewEpisodeWrapper. setBoard(Board _b)Method parameters in edu.wisc.game.rest with type arguments of type Board Modifier and Type Method Description voidBoardDisplayService.BoardList. setBoards(Vector<Board> _boards) -
Uses of Board in edu.wisc.game.saved
Methods in edu.wisc.game.saved that return types with arguments of type Board Modifier and Type Method Description static HashMap<String,Board>BoardManager. readBoardFile(File f, HashMap<String,Boolean> useImagesTable)Reads a CSV file into which a number of boards have been written by Board.saveToFile()Methods in edu.wisc.game.saved with parameters of type Board Modifier and Type Method Description static voidBoardManager. saveToFile(Board b, String pid, String eid, File f) -
Uses of Board in edu.wisc.game.sql
Fields in edu.wisc.game.sql declared as Board Modifier and Type Field Description BoardGame. initialBoardOnly if fixed; null if randomMethods in edu.wisc.game.sql that return Board Modifier and Type Method Description BoardEpisode.Display. getBoard()What pieces are on the board now, and what pieces have been removedBoardEpisode. getCurrentBoard()Shows the current board (without removed [dropped] pieces)BoardEpisodeInfo. getCurrentBoard()Shows tHe current board (including dropped pieces, which are labeled as such)static BoardBoard. readBoard(File f)Reads a board description from a JSON filestatic BoardBoard. readBoard(Reader r)static BoardBoard. readBoardFromString(String jsonText)Methods in edu.wisc.game.sql with parameters of type Board Modifier and Type Method Description voidEpisode.Display. setBoard(Board _b)voidPiece. setBoard(Board _board)Constructors in edu.wisc.game.sql with parameters of type Board Constructor Description Game(RuleSet _rules, Board _initialBoard)