This game is a recreation of the traditional children’s game, Telephone, but using Twilio. en.wikipedia.org/wiki/Chinese_whispers
It was written by @JonMarkGo for his workshop at Code Academy in Chicago
-
heroku create –stack cedar mygameurl
-
heroku config:add account_sid=YOUR_ACCOUNT_SID auth_token=YOUR_AUTH_TOKEN telephone_number=YOUR_TWILIO_NUMBER (make sure YOUR_TWILIO_NUMBER is in the format +16461234567)
-
git push heroku master
-
heroku run rake db:migrate
-
Set your Twilio SMS URL for the number that you entered to ‘mygameurl.herokuapp.com/messenger/sms’ and the method to POST
-
All set to play!
-
To start a game, TXT “new NAME” to your Twilio phone number
-
Your friends can then TXT “NAME GAMEID” to the same number (you will get the game id upon successful creation of a game)
-
Once all of your friends have joined, TXT “start” to the number
-
???
-
FUN!