Wordle Step

How To Play

Guess the Wordle(s) in 6 tries or less... or more?

  • All of classic Wordle's rules, but,
  • Wordles get more challenging with every stage you beat.
  • Leftover guesses become bonus guesses for the next stage.
R
E
A
D
Y
?

Tips

  • Games come in three difficulties: Short, Medium, and Long. Change difficulties in the top right corner.
  • Don't wait a day to play again. Just reload the page to start a new game!

(Oh, and have fun!)

How It Was Built

Beg NY Times for their Wordle code.

...if that doesn't work, here was my journey developing this game:

Technologies & Frameworks

Things I Learned

While this wasn't my first rodeo with React and Next.js, it was my first time creating a web game from scratch and it was a lot of fun! As my second decently-sized web project, I'm proud of the result and learned a whole lot, ranging from:

  • Developing for mobile responsiveness and UX (especially important for a game with many moving parts)
  • The joys of developing with TypeScript (!!)
  • Deepening my React proficiency with context and custom hooks
  • Configuring and deploying a Next.js project on Vercel

Challenges I Faced

  • I had to figure out a way to generate random words that weren't crazy obscure (who's gonna guess a word like "Ducat") but still allow them to be guessed by the player. To solve this, I used random-words to generate words for the game and parsed through a 370,000+ line txt file of English words to create the game dictionary.
  • Parsing through said txt file worked in development but failed in production, causing the game dictionary to be empty on Vercel. The file on my Windows laptop had words separated by a Carriage Return and Line Feed (CR + LF) character, while the file in production was only separated by LF. Splitting the file's contents with CR + LF in production would therefore produce an empty list of valid words. I fixed this by conditionally splitting the file based on the environment.
  • Testing the game because I'm bad at Wordle.

Releases

v 1.0.0

  • Wordle Step released!
  • Games come in three difficulties: Short, Medium, and Long
  • Wordle answers are relatively common words, may tweak if difficulty or word variance is lacking
  • GitHub repo