Skip to content

elizabethsiegle/wordleSMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twordle: Wordle SMS

Shoutout/game idea credit to the Wordle word game founder Josh Wardle

Play it over SMS! Text a 5-letter word to +12155156567 to get started.

sms example

To run the app, you need

Install the Twilio CLI to help you develop locally and deploy to Twilio Runtime

npm install twilio-cli -g
twilio login
twilio plugins:install @twilio-labs/plugin-serverless
  1. Clone the repo
  2. Run npm install in the twordle root directory
  3. Run twilio serverless:deploy in the twordle root directory

Grab the link ending in /game.

The meat of the code to play Twordle in /functions/game.js, but you also need the private Asset inAssets/words.txt.

In the phone numbers section of your Twilio Console, select a purchased Twilio phone number and scroll down to the Messaging section. Under A MESSAGE COMES IN, change Webhook to Function and then under Service select Twordle, for Environment select dev-environment, and then for Function Path select /game.

Click the Save button below and tada🎉! You can now text your Twilio number a 5-letter word to get started playing tWordle!

Loves-me-loves-me-not-tensorflow-python-sms