Skip to content

Restrict Second Player of Game #21

@aashutoshrathi

Description

@aashutoshrathi

Description

As of current implementation, when a user creates a game, anyone can Join that game.
The idea is to restrict the Game to the Second player who can join this game.
This can be achieved by having a "Create Game" modal that asks for a Second player too, who can later call Join Game and only if they call it, the game proceeds otherwise, it's rejected.

Open Problems

The users will be mostly aware of the actual addresses of the players.

  • Either the player has to communicate their embedded wallet addresses or we need to link their addresses on Micro-rollup.
  • One way is to keep the mapping of addresses also in state so that that can be leveraged by the user. But this needs more work on how do you authenticate the sign-up or embedded wallet creation requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions