google / google/codeworld

Invite links for groupActivityOf sessions

Open
#1,411 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

Came up in discussion with @jbash in #1409

Currently, getting a multi-user session going with `groupActivityOf` is a two-step process:

1. Get everyone running the same code (identified by a hash or dhash).
2. Someone creates a session, and everyone else joins the session using the four-letter code.

This is more complex than it needs to be. Instead, what could happen is:

1. ONE player runs the program and creates a new session.
2. They get an invite link, which they send to everyone else, who uses it to run the same program AND automatically join the session.

Basically, the invite link should have both the program hash/dhash and the session code embedded into it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.