Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 2 player RPS #379

Open
Tracked by #322
mcpenguin opened this issue Sep 9, 2022 · 0 comments
Open
Tracked by #322

Make 2 player RPS #379

mcpenguin opened this issue Sep 9, 2022 · 0 comments
Assignees
Labels
request Request for a new feature or other modification

Comments

@mcpenguin
Copy link
Collaborator

Description of proposed feature

The second version of RPS we can make would be 2-player, with the command structure being .rps [bet amount] [player to challenge]. If no player is provided, it defaults to the single player option. Codey would then send a message with the content

@playerChallenged has challenged you to a game of RPS with a bet of :codeyCoin:! Do you accept their challenge?
[ accept ][ reject ]

If reject is clicked, nothing happens. If accept is clicked, an embed now shows up similar to the single player version. But this time, Codey waits for both of them to react/click their option, with a 5 second timeout. If one player fails to click within the time limit, half of their bet is forfeited. After both players have clicked their option, the hands of both players are revealed, and the pool is split accordingly.

How can the new feature be used?

.rps [bet] [player to challenge]. If player to challenge is omitted, single player RPS is played.

@mcpenguin mcpenguin added the request Request for a new feature or other modification label Sep 9, 2022
@mcpenguin mcpenguin mentioned this issue Sep 9, 2022
7 tasks
@justin-ys justin-ys self-assigned this Jun 27, 2023
@w1dering w1dering self-assigned this Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Request for a new feature or other modification
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants