From: Carl Worth Date: Sun, 24 May 2020 16:09:15 +0000 (-0700) Subject: empires 0.7: Add endpoints to add, remove, and list spectators X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=366bac0a9b0f26218d5d78b7ba547717fb07a987;hp=366bac0a9b0f26218d5d78b7ba547717fb07a987;p=empires-api empires 0.7: Add endpoints to add, remove, and list spectators The endpoints are: POST /spectator DELETE /spectator/ GET /spectators The addition of a separate notion of spectators from players gives us two advantages: 1. People can just watch if they want to 2. A client can naturally separate the selection of the player's name (to create the spectator, join the game, see who else is in, etc.), from the selection of the player's character. This separation should avoid some confusion we saw in playtesting where players confused which name was which. ---