Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 744 Bytes

new.user.flow.md

File metadata and controls

31 lines (17 loc) · 744 Bytes

Workflow for new users

no credentials present (cookie or localstorage):

  1. Prompt for new player information

    Hello! blah blah, make a new character with the (new-player) function like so: (new-player :name "Joe" :password "FooBar" :desc "Just a random person")

  2. User runs new-player

  3. Generate uuid for auth details

  4. Store auth credentials in localStorage: {"name":"...", "password":"...", "desc":"...", "uuid": "..."}

  5. Any API request uses a make-api function that signs everything with the auth object.

  6. Backend will create user objects for new uuids.

  7. Put player (in room 0)

    /new-player
    body: auth details
    
  8. Tell user

    You find yourself in a windowless room.