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.
To run the app, you need
- A Twilio account - sign up for a free one here and receive an extra $10 if you upgrade through this link
- A Twilio phone number with SMS capabilities - [configure one here]
- Node.js installed - download it here
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
- Clone the repo
- Run
npm install
in thetwordle
root directory - Run
twilio serverless:deploy
in thetwordle
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