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

Feature request: Friend requests and friendlist #362

Open
BillTheBeast opened this issue Jan 8, 2025 · 3 comments
Open

Feature request: Friend requests and friendlist #362

BillTheBeast opened this issue Jan 8, 2025 · 3 comments
Labels
feature New feature to add

Comments

@BillTheBeast
Copy link

What do you want to see in the API?

Endpoint for sending a friend request to a specified player. POST friends/request
Endpoint(s) to accept or refuse the the request. POST friends/answer with true or false boolean or friend/answer/accept and friend/answer/refuse

How do you think this should work?

The list of all friends and all incoming requests should to stored inside the player data.
When a player sends a friend request the targeted player receives notification that they have received a friend request.
This creates a preliminary friend object between the players.
When a request is accepted this preliminary object is finalized and moved to the friend list of both players.

@MikhailDeriabin
Copy link
Member

@BillTheBeast

Is it a new feature of the game? Do you have some description of it?

@BillTheBeast
Copy link
Author

BillTheBeast commented Jan 8, 2025

This is probably the best simple explanation I have right now.
https://docs.google.com/presentation/d/19do1K6SviYVTXB6ZBtLc_scAx4OiWbWdViIK3nbK3W4/edit#slide=id.g3196225d588_0_3

@MikhailDeriabin
Copy link
Member

@BillTheBeast

Ok

@MikhailDeriabin MikhailDeriabin added this to the In-game friends milestone Jan 8, 2025
@MikhailDeriabin MikhailDeriabin removed their assignment Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature to add
Projects
Status: Backlog
Development

No branches or pull requests

2 participants