The Fictionary game through emails
A Ruby implementation of the Fictionary Game playable through emails.
This code is written during the Mendicant University course of January 2012.
- fix/improve the configuration system https://github.com/mendicant-university/s10-notes/blob/master/configuration.md
- improve README (https://github.com/elm-city-craftworks/code_quality/wiki/Understandability)
- correctly deal with POP/SMTP server errors, and user errors
- add specs?
bundle if you use Bundler. Else you can check the dependencies of
this software in the 'Gemfile.lock' file.
To configure the application see the
Require Ruby 1.9 +.
- picker: the person who starts a game by choosing a word
- players: the people who invent their own definition and try to find the correct one
- action: an action realized by the picker or the players through an email (start a game, subscribe, send a definition...)
- Players subscribe the next game by sending an email to [SERVER_EMAIL] with subject "subscribe to next game"
- Someone (the "picker") starts a game by sending an email to [SERVER_EMAIL] with subject "start a game" and in the body the word in the first line and the its official definition in on the second line (this step 2 may happens before the step 1)
- The Fictionary server sends by email the word to define to each person who was waiting for a game
- Each of the player replies to [SERVER_EMAIL] with his own invented definition
- Once all the players have replied, the Fictionary server sends to the players and the picker the lists of invited definitions and the official definition (in random order without telling which is the official definition)
- Each player replies with the definition he believes is correct
- The system computes the points gained by the picker and the players (see http://en.wikipedia.org/wiki/Fictionary#Scoring) and sends the score of everyone.
Released under the MIT license.