Skip to content

Presigned invite links #217

Description

@Fruktus

Feature type

This feature is new

Target platform

Server

Describe the request

The bot should provide an option to generate a match invite between two users, along the line of /challenge <username>. This would cause both users (assuming they're valid) to receive an URL address allowing them to play directly.

Flow:

  1. User A challenges user B to a match
  2. Both receive a link, for example in the line of https://quadradius.app/challenge?m=ngi73828hsui
  3. When these users click these links, they are prompted with a html form - it requires username and password.
  4. If the provided credentials are valid, the users enter the match directly, omitting the lobby.
  5. The pregenerated data (numbers) and the data provided by successfully authenticated users are in line with extra data from Additional Information

Bonus:

  • The pregenerated numbers probably can and should be outside of the 0-65535 range (since that's what SWF generates)
  • These presigned invites should likely have a lifespan/duration - ie if no one/not both joined them in time, they'd get deleted

Additional information

   _root.loadMovie("quadradius_game.swf?myName=" + myName + "&myAuthentication=" + myAuthentication + "&opponentName=" + opponentName + "&opponentAuthentication=" + opponentAuthentication + "&myPass=" + _root.myPass);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions