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 String
guessHtml(String episodeId, String guessText, int confidence)
String
mostRecentEpisodeHtml(String playerId)
String
moveHtml(String episodeId, int x, int y, int bx, int by, int cnt)
String
newEpisodeHtml(String playerId, boolean activateBonus, boolean giveUp)
String
pickHtml(String episodeId, int x, int y, int cnt)
String
playerHtml(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
-