Uses of Class
edu.wisc.game.sql.Board
Packages that use Board
Package
Description
Top-level Game Server code
The RESTful web API
Persistent data structures
-
Uses of Board in edu.wisc.game.engine
Methods in edu.wisc.game.engine that return BoardModifier and TypeMethodDescriptionStalemateTester.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 BoardModifier and TypeMethodDescriptionstatic boolean
BoardConditionsChecker.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 BoardModifier and TypeMethodDescriptionGets a Board object by IDNewEpisodeWrapper.getBoard()
GameService.getBoard1()
GameService.getBoard2()
Methods in edu.wisc.game.rest that return types with arguments of type BoardMethods in edu.wisc.game.rest with parameters of type BoardModifier and TypeMethodDescriptionvoid
static String
Given a Board object, creates an HTML snippet containing a visual display of the board.static String
BoardDisplayService.doBoardAscii
(Board board) The ASCII-art alternativevoid
Method parameters in edu.wisc.game.rest with type arguments of type Board -
Uses of Board in edu.wisc.game.saved
Methods in edu.wisc.game.saved that return types with arguments of type BoardModifier and TypeMethodDescriptionBoardManager.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 BoardModifier and TypeMethodDescriptionstatic void
BoardManager.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 BoardMethods in edu.wisc.game.sql that return BoardModifier and TypeMethodDescriptionEpisode.Display.getBoard()
What pieces are on the board now, and what pieces have been removedEpisode.getCurrentBoard()
Shows the current board (without removed [dropped] pieces)EpisodeInfo.getCurrentBoard()
Shows tHe current board (including dropped pieces, which are labeled as such)static Board
Reads a board description from a JSON filestatic Board
static Board
Board.readBoardFromString
(String jsonText) Methods in edu.wisc.game.sql with parameters of type BoardModifier and TypeMethodDescriptionvoid
void
Constructors in edu.wisc.game.sql with parameters of type Board