,Inhoud
Analyse...................................................................................................................................................3
Onderdelen.........................................................................................................................................3
Acties per onderdeel..........................................................................................................................3
Eisen.......................................................................................................................................................4
Inloggen..........................................................................................................................................4
Persoonlijke pagina.........................................................................................................................4
Starten van een spel.......................................................................................................................4
Spel joinen......................................................................................................................................4
Spelen van een spel........................................................................................................................4
Spel beëindigen..............................................................................................................................5
Maken van een scoreranglijst met afhankelijke scores..................................................................5
Keuze protocolsoort...............................................................................................................................6
REST:...................................................................................................................................................6
SOAP:..................................................................................................................................................6
RPC.....................................................................................................................................................6
Verantwoording keuze JSONRPC........................................................................................................7
Protocol design.......................................................................................................................................8
General Syntax:...............................................................................................................................8
Inloggen..............................................................................................................................................8
Method: To register a person.........................................................................................................8
Method: To log in a person.............................................................................................................8
Personal page...................................................................................................................................10
Method: Retrieve previously saved games...................................................................................10
Method: Request, change and save personal data.......................................................................10
To end a game..................................................................................................................................10
Method: Quitting a game..............................................................................................................10
Method: Game end after winning the game................................................................................12
Set up a game...................................................................................................................................12
Method: creating a game.............................................................................................................12
Method: make the ships...............................................................................................................12
Method: starting the game...........................................................................................................13
Joining a game..................................................................................................................................14
METHOD: Request list of current games......................................................................................14
METHOD: join a game...................................................................................................................14
, METHOD: add a player to you game.............................................................................................14
Method: Het plaatsen van de schepen.........................................................................................16
Method: To make a move.............................................................................................................16
Making score rankings......................................................................................................................16
Method: get highscores................................................................................................................16
Method: get ranking.....................................................................................................................16
Method: get top ranking...............................................................................................................17
Help-button......................................................................................................................................17
Method: Question for help...........................................................................................................17
Method: Send messages to other players....................................................................................17
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller marjavdwind. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $5.34. You're not tied to anything after your purchase.