Protocol - Geosearchef/HNSServer GitHub Wiki

All requests contain the id, UUID

  • /register POST: username, uuid
  • /createGame POST: gameOptions, gameTitle -> success, gameConfig (gameOptions)
  • /joinGame POST: game uid -> gameOptions
    • /echo GET -> echo
  • /ownPosition +POST: position -> hiderTime, gameTime
    • /positions GET: -> [(id, pos, playerType, playerName)]
  • /getAvailableItems
  • /useItem