DEV Community

Kiran (AK) Adapa
Kiran (AK) Adapa

Posted on

WORDLE - Guess the hidden word in 6 tries

A free new word game WORDLE is here. It is so simple yet a little challenging.

Play WORDLE here: https://www.powerlanguage.co.uk/wordle/

I came across (via NYTimes story) this word game and found it very interesting. From a developer standpoint, the game user interface and user experience cannot be any better than what this engineer has developed. Wordle was developed by Josh Wardle (@powerlanguage).

Image description

This game went viral late December 2021 with players reaching about 300,000. As of now (Jan 5, 2022), the number of players may be a lot more as there has been a lot of media coverage.

Game Highlights

  • A new puzzle is available each day. The objective of the game is to guess the 'mystery' word of the day in 6 guesses

  • Everyone, everywhere in the world guesses the same word

  • you may only complete one puzzle per day; game resets at midnight

  • No clues on what the word is. You may start with any 5 letter English word (from the dictionary) and go from there. Looks like Scrabble game word rules apply here.

  • Only six chances and then you are out for that day

  • Easily share your results without sharing your results

Game Mechanics/design Features

  • the game interface works equally well on any smart phone browser or web browser (no app to download)
  • only three colors that indicate status of letters in your word entry:

    • correct letter in a correct position (green)
    • correct letter in a wrong position (orange/yellow)
    • incorrect letter (position does not matter!) (grey)
  • whether you get it right or not you cannot play again**. Which means, if you refresh the browser, the game won't let you retry if you already tried for that day. This may seem frustrating but that is what makes this game so interesting. According to its creator, he wants people to spend only a couple of minutes a day and not anything more than that.

  • There are 6 rows of 5 cells for 5 letters of each guess. After a guess you can not go back to that row but can keep trying to type different letters (and use backspace) to try another word/guess.

  • A cool feature is that the keyboard letters light up with same colors as green, orange, grey. You can pretty much type any of the 26 letters but this color coding gives you ways to try out or use a guess to weed out some letters with a proper word. This allows one to use letters in their guesses to figure out the correct 'mystery' word.

  • Upon a word guess entry, the letters rotate to reveal the status letter-by-letter. It is so satisfying to see the letters turn green or orange. Of course, when they all turn GREEN then it is a pure joy!

  • the killer feature is the 'Share' button. It does a simple copying of the game status to a buffer. You may paste to a note pad, twitter, Facebook, etc. and your attempts are not revealed. The engineer/creator calls it 'spoiler free emoji grid' and was inspired by @irihapeta.

If you did not play already, go play now.

** Of course, you could play again from different browsers, devices, clearing cache etc. But, no matter what, only one word per day for everyone in the world.

PS: I looked under the hood and the code is simple, elegant and well written. I would not call it hack proof. But, I leave it at that as I don't want to spoil it for others.

Top comments (4)

Collapse
 
tonedef71 profile image
Tony DeFusco

I wrote essentially the same game as "Wordle" and submitted it as my entry for a "hack-a-thon" contest back in November 2020. Unfortunately, it was only available for the public to play online for 30 days (the trial cloud-hosting was only valid for 30 days).

You can read about my game, Jotto 2020, right here on Dev.To. dev.to/tonedef71/everyday-is-an-ap...

A tough loss in a 5-letter game of Jotto 2020

Collapse
 
akaak profile image
Kiran (AK) Adapa • Edited

This is surreal @tonedef71
Just went through your Nov 2020 post. Great writeup/post and excellent effort on the app/game.

You have done some amazing work with this game/app. If not exactly the same, the Wordle has a lot of similarities. As I mentioned in my post, Wordle became so successful because of the virality that it brought in with the "share" without revealing the words/letters.

Good luck with all your efforts Tony. Keep rocking. Hope you are staying warm in the New England area!

Collapse
 
tonedef71 profile image
Tony DeFusco

@akaak Thank you for all your kind and uplifting words.

I invited another Dev.To user, @wtennis, to use Jotto 2020 to assist with testing his array filtering algorithm to improve one's lead-off guess for Wordle.

If you want to play some rounds of Jotto 2020, you can do so online right here.

Hope you are staying warm in the New England area!

Thank you. As I type this, I have an electric heater running to help keep me warm. LOL

Thread Thread
 
akaak profile image
Kiran (AK) Adapa

That is cool. I have tried and sure going to try more and use @wtennis algo.