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

Basic Messaging #8

Closed
FifthSurprise opened this issue Apr 25, 2015 · 5 comments
Closed

Basic Messaging #8

FifthSurprise opened this issue Apr 25, 2015 · 5 comments
Assignees
Milestone

Comments

@FifthSurprise
Copy link
Contributor

Create basic messaging between Humans and aliens tied to the Game.

Specifically we need a new table for the messages.

The sender (meaning a player nation or the aliens who will be treated as a country) should be stored along with the message. Right now, make all communication "public" on the Humans or the Aliens pages (we will cut this down later by assigning country/alien roles to users and filtering server-side). In other words all communications is completely open and available to anyone as long as you know the url.

This should just be standard get/post stuff. Nothing too fancy.

  1. Add migrations for a Messages table.
    The table should include sender, recipient, timestamp, round number, game id, and the message.
  2. Create route/controller methods for creating a new message based on the above.
  3. Create a route, controller methods for viewing all messages so far along in order of timestamp with all available table data.
@CesarDominguez
Copy link

For the mobile app it could use push/silent notifications, its supposed to be straightforward from the back end side. However as you guys said this might detract the experience to focus on the phone, so if its possible to send (and I know is kinda ridiculous) audio files as messages (even if its f***ing slow) im sure it could enable some sort of cool stuff, like those noisy messages from the aliens, at least it applies on messages to scientist isnt it?

@michaelpelletier
Copy link
Contributor

I dig the idea of audio messages. And I don't think sending them would be a particular problem, since most of them shouldn't be too long?

Something I saw in the Shut Up and Sit Down game was that (at least early on?) there were some communication issues between people and aliens, so only fractions of a message got through. It probably wouldn't be hard to run the audio through some kind of filter.

The big problem that I suspect would occur with this is actually the level of background noise.

@FifthSurprise
Copy link
Contributor Author

I have spun off #12 for this Consequently, I'm going to ask that we take such discussion there. I like the idea, but unfortunately I do not think we have time. Therefore we should implement just basic text messaging first.

@FifthSurprise FifthSurprise modified the milestone: 1.0 - Rookies Game May 27, 2015
@TheJhyde
Copy link
Contributor

TheJhyde commented Jul 3, 2015

I've uploaded the code for the message system. Let me know if there's any problems with it.

@TheJhyde TheJhyde closed this as completed Jul 3, 2015
@CalixJumi
Copy link

well done!, now... how should the app use the web service? pls :D or maybe post a sample url with a json in it to start testing.

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

5 participants