Changes between Version 5 and Version 6 of DesignAndImplementation/GameController


Ignore:
Timestamp:
08/02/11 10:27:34 (6 years ago)
Author:
ddickison
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DesignAndImplementation/GameController

    v5 v6  
    2828The specs below is a very early draft of how this might be set up.  In particular, perhaps we should have the playerID always be an explicit toplevel parameter instead of relying on session data.  And TBD is how game results are stored. 
    2929 
    30 === POST /login === 
    31  
    32 Logs a player in so that subsequent actions in this session is in the context of this player.  The body should contain the parameters ''playerID'' and ''password''.  This API should be accessed via HTTPS so that the password is not sent in cleartext.  Returns PlayerState. 
    33  
    3430=== GET /stage/:stageID? === 
    3531 
     
    4642=== POST /stage/:stageID/questionSet/:questionSetID/results === 
    4743 
    48 Use this method to save the results of a run through the given QuestionSet. 
     44Use this method to save the results of a run through the given QuestionSet. The request body should be the raw output from the game engine.