Contact Us

570 Lake Cook Road

Suite 400

Deerfield, IL 60015

2 North Riverside Plaza

Suite 225

Chicago, IL 60606

info@freeclimb.com

support@freeclimb.com

partners@freeclimb.com

media@freeclimb.com

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Talk to an Expert

570 Lake Cook Road

Suite 400

Deerfield, IL 60015

2 North Riverside Plaza

Suite 225

Chicago, IL 60606

info@freeclimb.com

support@freeclimb.com

partners@freeclimb.com

media@freeclimb.com

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Resources  ▶︎  
Knowledge Center
Article

FreeClimb API Challenge #1: Build an SMS version of a popular word game

October 26, 2023

If you like word search puzzles, you'll love this developer-theme anagram game. Give it a try with your friends or family!

If you love development challenges, and enjoy that free web-based word game everyone’s playing, here’s a challenge for you:

  • Build an SMS version of the game with a simple D Jones application using your free trial account of the flexible, enterprise-grade FreeClimb API.
  • At some point, you’ll need to clone a repository to a Big Hut interface and create a .env file in an erotic dry root.

Um, what?
The bolded terms above are anagrams of common coding terms — that is, they’re terms you know, but with all the letters mixed up. If you can solve them, you’ll probably do great at this challenge.

While you’re thinking about those — no peeking ahead! — let’s get started with the challenge. I built this myself a couple of weekends ago, and now I’ve got my mom playing it. I can’t wait to see how you solve it!

Bring on the challenge!

The object of this first challenge is to create a version of that super-popular word game that anyone can play using SMS messaging. (Let’s call it “SMordle.”) Your Aunt Shirley should be able to play the game on her phone without knowing or using any code whatsoever. Here are the requirements for the game I created:

  1. SMordle communicates with the player via SMS messages.
  2. SMordle works like the popular game:
    1. Your application establishes a 5-letter answer word for the player to guess.
    2. The player tries to guess the word by texting 5-letter words.
      indicates that a letter is in the answer word and in the correct position
      indicates that a letter is in the answer word but not in the correct position
      indicates that the letter is not in the answer word at all
    3. The game host application texts back feedback in the form of colored tiles:
    4. The player gets six guesses to match the answer word.
    5. The game host must enable unique responses for players who win the game and those who do not.
  3. BONUS if you enable the player to copy their results as an emoji suitable for sharing.

Building SMordle with the FreeClimb API

To create your SMS version of the super-popular web-based word game, I recommend building a simple Node.js application that receives an SMS message and sends a reply. Here are some more guidelines that may help you build SMordle:

  1. Use your ear filter — er, free trial — for the FreeClimb API to build SMordle.
  2. If you haven’t started your free trial, you can sign up for one here. (It’s free. 😀)
  3. You can use any tools from the FreeClmb API.
  4. Use this GitHub list to supply answer words
  5. When your application receives a message
  6. When your application sends a message
  7. When you want to create an emoji

1|   const solution = (process.env.SOLUTION).toLowerCase()
2|      const processAttempt = (text) =>
3|
4|      text.toLowerCase().split('').map((letter, i) => {
5|
6|           if (solution[i] === letter) return `🟩`
7|           if (solution.includes(letter)) return `🟨`
8|            return `⬛️`
9|
10|
11|          }).join('')

I figure you’ll catch on pretty quickly, because FreeClimb was built by developers like you and me — developers who don’t just build applications for a living, but who do it because they love being able to create something new and awesome. All you need is a few world-class tools and your own creative mind.

Have questions about using FreeClimb? Want a little extra insight? Visit our Support page and dive in.

Solutions to the anagrams at the beginning of the article

If you haven’t figured them out already ….

  • D Jones = Node.js
  • Big Hut = GitHub
  • Erotic dry root = Root directory

Ready to activate the full power of FreeClimb?

We built FreeClimb to give you something other APIs can’t — the power of the Vail Platform. You can quickly and easily integrate our voice and SMS API technologies into your applications with the highest standards of security and stability in the industry.

Now that you’ve seen what you can do with FreeClimb, why not make it part of your everyday arsenal? Start building highly scalable, feature-rich communication solutions in-house with the flexibility and security of the Vail platform — upgrade your trial account today.

It’s the most powerful, flexible, affordable maniac music option — er, communications API — you’ll ever use.

Introduction

Mi tincidunt elit, id quisque ligula ac diam, amet. Vel etiam suspendisse morbi eleifend faucibus eget vestibulum felis. Dictum quis montes, sit sit. Tellus aliquam enim urna, etiam. Mauris posuere vulputate arcu amet, vitae nisi, tellus tincidunt. At feugiat sapien varius id.

Eget quis mi enim, leo lacinia pharetra, semper. Eget in volutpat mollis at volutpat lectus velit, sed auctor. Porttitor fames arcu quis fusce augue enim. Quis at habitant diam at. Suscipit tristique risus, at donec. In turpis vel et quam imperdiet. Ipsum molestie aliquet sodales id est ac volutpat.

Image caption goes here
Dolor enim eu tortor urna sed duis nulla. Aliquam vestibulum, nulla odio nisl vitae. In aliquet pellentesque aenean hac vestibulum turpis mi bibendum diam. Tempor integer aliquam in vitae malesuada fringilla.

Elit nisi in eleifend sed nisi. Pulvinar at orci, proin imperdiet commodo consectetur convallis risus. Sed condimentum enim dignissim adipiscing faucibus consequat, urna. Viverra purus et erat auctor aliquam. Risus, volutpat vulputate posuere purus sit congue convallis aliquet. Arcu id augue ut feugiat donec porttitor neque. Mauris, neque ultricies eu vestibulum, bibendum quam lorem id. Dolor lacus, eget nunc lectus in tellus, pharetra, porttitor.

"Ipsum sit mattis nulla quam nulla. Gravida id gravida ac enim mauris id. Non pellentesque congue eget consectetur turpis. Sapien, dictum molestie sem tempor. Diam elit, orci, tincidunt aenean tempus."

Tristique odio senectus nam posuere ornare leo metus, ultricies. Blandit duis ultricies vulputate morbi feugiat cras placerat elit. Aliquam tellus lorem sed ac. Montes, sed mattis pellentesque suscipit accumsan. Cursus viverra aenean magna risus elementum faucibus molestie pellentesque. Arcu ultricies sed mauris vestibulum.

Conclusion

Morbi sed imperdiet in ipsum, adipiscing elit dui lectus. Tellus id scelerisque est ultricies ultricies. Duis est sit sed leo nisl, blandit elit sagittis. Quisque tristique consequat quam sed. Nisl at scelerisque amet nulla purus habitasse.

Nunc sed faucibus bibendum feugiat sed interdum. Ipsum egestas condimentum mi massa. In tincidunt pharetra consectetur sed duis facilisis metus. Etiam egestas in nec sed et. Quis lobortis at sit dictum eget nibh tortor commodo cursus.

Odio felis sagittis, morbi feugiat tortor vitae feugiat fusce aliquet. Nam elementum urna nisi aliquet erat dolor enim. Ornare id morbi eget ipsum. Aliquam senectus neque ut id eget consectetur dictum. Donec posuere pharetra odio consequat scelerisque et, nunc tortor.
Nulla adipiscing erat a erat. Condimentum lorem posuere gravida enim posuere cursus diam.

Elevate Your Conversations
Every year leading consumer brands trust our cloud services to make billions of customer conversations better. Find out how we can help your company realize your customer care communications goals.