DEV Community

Cover image for Mastering word games with cheat codes
Andre Hammons
Andre Hammons

Posted on • Updated on

Mastering word games with cheat codes

Every now and then, I find myself spending an obscene amount of time playing random word games on my phone. There is something so satisfying in expertly unscrambling a bunch of random letters into various (and often unfamiliar) words. During one of my word game binges, I decided to try building an app that does the work for me. I was still using my knowledge to make the words, so it's not cheating, right?

Over the past month, I created the anagram generator using JavaScript and NodeJS. Building this project helped me develop familiarity with the following concepts and topics:

  • Creating templates (specifically using Pug; I have worked with Flask/Jinja2)
  • Matching using Regular Expressions
  • Using the Express framework
  • Deploying an app with Heroku
  • Creating and using APIs (and how to hide your API keys)

I didn't know that last one was a thing until much later. Oops. Thanks @jamesqquick for showing me how to be better!

So if you like playing Scrabble, Words With Friends, or you just love making random words you don't know the meaning of...

Try the app: https://word-unscramble.up.railway.app
or
Check out my project: https://github.com/AhamSammich/word-unscramble

Top comments (0)