Package edu.wisc.game.rest
The RESTful web API
The methods in GameService and GameService2 map to URLs which are used by the client to cause the server to perform various operations.
-
Class Summary Class Description ActivateBonusWrapper CheckPlanService The "Check my experiment plan" service.ColorMap Files Information about the data files the Rule Game web server reads and writesFileWriteReport This data structure is converted to JSON and send to the client in response to the /writeFile web API call.GameService The "First Batch" of API calls, primarily for use in the research environment, where a player can choose any game to playGameService2 The "Second Batch" of API calls, primarily for use with players constrained by an experiment plan, and playing a sequence of games as outlined in the trial list to which the player is assigned.GameService2Html The HTML wrapper for the Second Batch calls, to allow for the "HTML Play".GameServiceHtml The HTML wrapper for the First Batch calls, to allow for the "HTML Play".GetImageServlet Returns the content of the SVG file for the specified shapeGetSvgWrapper Returns the content of the SVG file for the specified shapeGiveUpWrapper GuessWriteReport This data structure is converted to JSON and send to the client in response to the /guess web API call.ListShapesWrapper Lists all available shapesNewEpisodeWrapper NewEpisodeWrapper2 This is an object that's converted to a JSON structure and sent to the client as a response in /GameService2/newEpisode calls.ParaSet PlayerResponse The HashMap capability is used for debugging info in debug modeResponseBase TrialList