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

Extra: Want-To-Play advertisements #459

Open
skamoen opened this issue Dec 31, 2017 · 0 comments
Open

Extra: Want-To-Play advertisements #459

skamoen opened this issue Dec 31, 2017 · 0 comments

Comments

@skamoen
Copy link
Member

skamoen commented Dec 31, 2017

In order to find more people to play games with you, users should be able to post "advertisements". These are messages indicating they want to play a game and looking for people to play it with.

MVP

Simple object with the following properties:

  • User (Automatic)
  • Time of creation (Automatic)
  • Contact (Optional, String, stuff like discord, phone, email)
  • Game (String)
  • Message (String)

From the User object we can extract the Seat and other information we have from the user. The other fields are to be filled in by the requesting user. It's up to them how to fill it out, no restrictions on the format. Advertisements should expire after some hours (12 or so?)

Required endpoints

Something like /wtp or /lfp (want to play, looking for player)

POST: Create a new wtp-request
GET: Get all WTP requests.
DELETE /wtp/{id}: Remove wtp-request, can be done by user or admin
PUT /wtp/{id}: Update wtp request, refresh created-on timestamp.

In the future this can be expanded by integrating with some fancy Discord bot to get people in touch easier. For now seating info and optional discord will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant