Package edu.wisc.game.rest
Class GameService2Html
java.lang.Object
edu.wisc.game.rest.GameService2
edu.wisc.game.rest.GameService2Html
@Path("/GameService2Html")
public class GameService2Html
extends GameService2
The HTML wrapper for the Second Batch calls, to allow for the "HTML Play".
-
Constructor Summary
Constructors Constructor Description GameService2Html() -
Method Summary
Modifier and Type Method Description StringguessHtml(String episodeId, String guessText, int confidence)StringmostRecentEpisodeHtml(String playerId)StringmoveHtml(String episodeId, int x, int y, int bx, int by, int cnt)StringnewEpisodeHtml(String playerId, boolean activateBonus, boolean giveUp)StringpickHtml(String episodeId, int x, int y, int cnt)StringplayerHtml(String playerId, String exp, int uid)Methods inherited from class edu.wisc.game.rest.GameService2
activateBonus, colorMap, display, findPlans, getVersion, giveUp, guess, listShapes, mostRecentEpisode, move, move, newEpisode, player, registerUser
-
Constructor Details
-
GameService2Html
public GameService2Html()
-
-
Method Details
-
playerHtml
-
mostRecentEpisodeHtml
-
newEpisodeHtml
@POST @Path("/newEpisodeHtml") @Consumes("application/x-www-form-urlencoded") @Produces("text/html") public String newEpisodeHtml(@FormParam("playerId") String playerId, @DefaultValue("false") @FormParam("activateBonus") boolean activateBonus, @DefaultValue("false") @FormParam("giveUp") boolean giveUp) -
moveHtml
-
pickHtml
-
guessHtml
-