Package edu.wisc.game.rest
Class GameServiceHtml
java.lang.Object
edu.wisc.game.rest.GameService
edu.wisc.game.rest.GameServiceHtml
@Path("/GameServiceHtml") public class GameServiceHtml extends GameService
The HTML wrapper for the First Batch calls, to allow for the "HTML Play".
-
Constructor Summary
Constructors Constructor Description GameServiceHtml()
-
Method Summary
Methods inherited from class edu.wisc.game.rest.GameService
display, getBoard, getBoard1, getBoard2, getHello1, getHello2, getParam, getParamHtml, getPiece1, getPiece2, listInitialBoards, listRules, move, newEpisode, saveBoard, startTrial, writeFile
-
Constructor Details
-
GameServiceHtml
public GameServiceHtml()
-
-
Method Details
-
newEpisodeHtml
@POST @Path("/newEpisodeHtml") @Consumes("application/x-www-form-urlencoded") @Produces("text/html") public String newEpisodeHtml(@FormParam("rules") String rules, @DefaultValue("0") @FormParam("pieces") int pieces, @DefaultValue("0") @FormParam("shapes") int shapes, @DefaultValue("0") @FormParam("colors") int colors, @DefaultValue("null") @FormParam("board") String boardName) -
moveHtml
-