Skip to content

Commit

Permalink
Update Server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
darthfiddler authored Jun 11, 2018
1 parent b19b403 commit 0201f96
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/api/Server.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,12 @@ Returns `gameID`, which is the ID of the newly created game instance.

### Joining a game

#### `/game_instances/:id/join`
#### `/games/:name/:id/join`

Allows a player to join the given game instance `id`.
Allows a player to join a particular game instance `id` of a game named `name`.

Accepts three parameters, all required:

`gameName`: the name of the game being joined

`playerID`: the ordinal player in the game that is being joined (0, 1...)

`playerName`: the display name of the player joining the game.
Expand Down

0 comments on commit 0201f96

Please sign in to comment.