Your server-side PHP version would be slower for most users and might get expensive to run.
I made one simple web page with JS, HTML, and CSS, and now I can play it whenever I want (or show it off to my friends who introduced me to Wordle a few days ago).
Essentially Wordle is just Hangman with a neat twist.
I'd say the closer comparison is to Mastermind[0].
- Mastermind is based on abstract codes, Wordle is words. Words are fun!
- Wordle is much easier to explain. I could explain it to somebody who hadn’t heard of it and we could be playing on pen and paper inside two minutes.
Mum to mud to mad to Dad
and Dad to dam to dum to Mum
https://en.m.wikipedia.org/wiki/Word_ladderI do commend Josh Wardle for implementing Wordle with native web components, I personally wouldn't have the patience.
I'd consider Tetris to be far more impressive design-wise in that it's a easy to learn but difficult to master, despite its simplicity. It's a mind-blowing experience to watch the best Tetris players in the world. The skill gap between a beginner Wordle player and the best in the world simply cannot be that great, by nature of the game's design. I guess a large part of the reason is because the player can't alter the game state: they can only gain information. It doesn't allow for complexity to emerge.
Partly that's state, as you say, but I think it's also significant that Tetris is a realtime arcade-style game. Experts are vastly faster than newbies, and the main difficulty increase mechanism is that the blocks drop faster.
Wordle might have some similarities there. People don't commonly share their times, but I bet even among competent players who routinely solve it in 4-5 moves every day, there are some expert players who can do it much faster -- just like some people can solve the daily crossword in a few minutes, while others work on it gradually over the whole day.
You could also distinguish between people who usually take 4-5 moves and those who can do it in 3-4 (e.g. optimal play with its average of ~3.4 moves). It's just not obvious immediately because there's a lot of variance; if a great player solves it in 3 you could write it off as a fluke, and if a poor player is genuinely lucky and gets it in 2 you could mistake that for skill.
We can't share the wordle emoji thing here because hacker news strips something from it that removes the colors.
I'm in a group chat where we all share our Wordle results for the day. It seems everyone is at least as good as me.
Both are very good games, but only one of them became a world wide sensation.