TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Spindle, a cross between Wordle and a Rubik's Cube made in PHP

65 pointsby abbmover 1 year ago
Hi HN,<p>I was late to wordle, so I am also late to making my own version.<p>In Spindle, you rotate words on a grid with the aim of assembling the day’s target word. I enjoy it, so I thought some of you might enjoy it too.<p>From a tech perspective, it’s a very simple Laravel &#x2F; Livewire app. My happy place in recent years has been Typescript and SvelteKit, so this was a bit of an adjustment, but it allowed me to take advantage of an existing shared hosting server meaning no additional financial outlay. Happy to report a positive experience with PHP and this framework, although I do miss types! Deploying with rsync feels enjoyably old school.<p>(I gather PHP does have types now, but perhaps I’m using the wrong IDE or need a specific VS.Code plugin…)<p>Very happy to answer any questions, although I’m the first to admit it’s very simple from a tech perspective. Your guess at how it was implemented is probably a better solution than what I actually did :)<p>Happy holidays all!

18 comments

HuoKnightover 1 year ago
This is a really cool puzzle! As others have said, definitely need better instructions for how to actually make moves, I spent a good amount of moves figuring it out. Also, it would be a nice addition if there was a function to share your results, similar to wordle and other similar online puzzles.<p>A more out-there suggestion would be a replay (either on the puzzle itself or as a gif) of all the moves you made. Could make it more interesting to share with friends.
评论 #38822048 未加载
tcmbover 1 year ago
Looks nice, but the instructions are confusing me. I&#x27;ve read the &#x27;How to Play&#x27; and still don&#x27;t know how to play.<p>First of all, I need to &#x27;spin&#x27;, but how do I do that? By clicking, dragging, typing...? Any or all of these? And if so, clicking&#x2F;dragging what?<p>And what is it that is being spun? Rows, columns? Apparently it&#x27;s words, but that is mentioned nowhere.<p>Second, in the &#x27;How to Play&#x27; there are these two examples: &gt; For example, you could spin CAT to obtain TAC. &gt; You can also spin in reverse, so you could spin TAHC to make CHAT<p>I don&#x27;t see the difference between these two, both reverse a word by &#x27;spinning&#x27;, so why are these two seemingly identical examples given here?
评论 #38824194 未加载
评论 #38827786 未加载
furyofantaresover 1 year ago
Very cool.<p>A simple thing you can do when they try to make an invalid spin is pop up &quot;XYZ is not in the word list&quot; on a brief toast. That&#x27;ll make it easier to learn that you need to spin words, and that you have to click the first letter first.
epsover 1 year ago
Beautifully designed, very clean, but frustrating to play due to being unpleasantly difficult. I gave up after 5 minutes.<p>It would help to have an unlimited undo in a dedicated button. I realize that the undo can be done by spinning words in reverse order, but that&#x27;s inconvenient and I really wouldn&#x27;t remember what I did beyond last 2-3 words.
评论 #38823245 未加载
abroun_beholderover 1 year ago
Congrats on releasing this. Having played through and reached the target word, my suggestion would be to try to find a way to lower the difficulty for new players. With Wordle as a new player you can just type in words make some progress and then work out more advanced strategies later on. With Spindle for me it felt frustratingly hard and not much fun at times I&#x27;m afraid.<p>After checking back here a few times I eventually got that I could only spin valid words but they were hard to find so I ended up relying heavily on 2 letter words to reach my final score of 35. Assuming that you support valid Scrabble 2 letter words <a href="https:&#x2F;&#x2F;scrabblewordfinder.org&#x2F;two-letter-scrabble-words" rel="nofollow">https:&#x2F;&#x2F;scrabblewordfinder.org&#x2F;two-letter-scrabble-words</a> you end up spinning words that sound like gibberish most of the time so it seems a bit arbitrary when you can&#x27;t spin titles like Mr or Ms. :P. Perhaps allow a few free spins to help people unblock the board? Or allow people to skip past problem letters every now and then so that they can spin longer words?<p>All the best with further development!
MilnerRouteover 1 year ago
Nice interface!<p>The instructions could use maybe a few examples on how to make a move -- but I figured it out. The game is tough and challenging, but it&#x27;s really satisfying when you make progress. Well done!
评论 #38822061 未加载
spuzover 1 year ago
Could you give more details about the rules? You said &quot;it has to be a recognised English word for it to spin&quot; but what does this mean? Are you talking about the word(s) formed before or after the spin? It seems completely arbitrary when it allows me to spin two letters at the moment because seemingly none of the words before or after the spin are valid 5 letter words.
评论 #38823177 未加载
blowskiover 1 year ago
Laravel is quite patchy with types, because it does a lot of magic not supported by PHP’s type system. There are libraries and IDE plugins that mask this.<p>Symfony, the other big PHP framework, has a lot more to offer if you like types. It also has a combination of Encore, Stimulus and Twig to link the backend to the front, but it doesn’t have the features of Livewire.
kgdiemover 1 year ago
&gt; (I gather PHP does have types now, but perhaps I’m using the wrong IDE or need a specific VS.Code plugin…)<p>It does! In PHP fashion, checks done runtime and there’s no compile step to check your code. Can be quite a trip!<p>I picked up laravel again recently it’s let me work at a feverish pace, love it. Happy to see you were able to get something shipped with it as well.
nextaccounticover 1 year ago
why sometimes I can&#x27;t spin? (it blinks in red)<p>and why can&#x27;t I spin more than 2 letters?
评论 #38822499 未加载
pixxelover 1 year ago
Just to give you feedback:<p>Personally I find this game too difficult to be pleasurable. It’s like the difference between playing an easy-medium sudoku and a real hard sudoku. The former is relaxing whilst the latter is frustrating, time consuming and requires 100% concentration.<p>I like to relax while playing games :)<p>I am intrigued and will return. Perhaps it’s a skill to learn.<p>Best of luck and congratulations on the release.
pierrecover 1 year ago
Really neatly done. It felt difficult but maybe it&#x27;s a skill that can be learned.<p>Spoiler:<p>At the end, it shows you a graph of how many turns people took to solve it, and if I&#x27;m reading it correctly, only 30-ish people solved it at all, despite being on the front page of HN for 2-3 hours? Definitely on the harder end of wordle derivatives! And I bow down to whoever solved it in 9 turns.
评论 #38822125 未加载
nextaccounticover 1 year ago
Oh I managed today&#x27;s word in 93 turns<p>I&#x27;m curious to see how people did with so few turns<p>Also I would like an undo or at least a reset button
Vuskaover 1 year ago
Open source? Would love to see a production Livewire app, especially since it&#x27;s using v3 with AlpineJS.<p>PHP does indeed have good support for types now. Laravel as a framework generally eschews them, but it&#x27;s flexible enough to make it developer preference really.
评论 #38822054 未加载
danielrw7over 1 year ago
I love wordle games and this seems like a fun addition! On mobile (Android, Firefox&#x2F;Chrome), I can&#x27;t figure out how to spin words longer than 2 letters long, it just flashes red or spins the letters immediately after I tap the second letter
评论 #38821668 未加载
noman-landover 1 year ago
This is really cool once you get the hang of playing. I echo all the suggestions made by other posters.
pjm331over 1 year ago
Done in 50 - though I’m not sure all of my words were really words hah - very fun game
jackstraw14over 1 year ago
i don&#x27;t know how to play it, but love games like this