Package edu.wisc.game.rest
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.
Software Copyright University Wisconsin-Madison, under Apache License, Version 2.0
-
ClassDescriptionThe AutomaticRuleGenerator demo service.HTML display for user-upload boards (in JSON format), for use by the ML team (Shubham)The "Check my experiment plan" service.Information about the data files the Rule Game web server reads and writes.Names of subdirectories under "saved"This data structure is converted to JSON and send to the client in response to the /writeFile web API call.The "First Batch" of API calls, primarily for use in the research environment, where a player can choose any game to playThe "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.The page generator for the HTML Play interface.The HTML wrapper for the First Batch calls, to allow for the "HTML Play".Returns the content of the specified page of the instruction booklet for the specified playerReturns the content of the SVG file for the specified shapeThis data structure is converted to JSON and send to the client in response to the /guess web API call.Lists all available shapesTools for the manager dashboard.Uploading and processing results files by MLC participants.This is an object that's converted to a JSON structure and sent to the client as a response in /GameService2/newEpisode calls.Various incentive schemes available to experiment designers.The object returned by the /player call.Retrieving various pages needed by the client to customize the player's pregame and postgame experience.An HTML page + error codeAn HTML page + error codeSome info + error codeThe parent class for various structures that are returned, in JSON form,' by REST calls.Identifies an experiment plan as a static or dynamic (P: or R: type) oneUsed by LoginServlet and the Android app for registering new users and logging in