Better HN
topnewbestaskshowjobs
Log inSign up

userundefined

14 karma · joined Jun 14, 2023 (3y ago) · 36 submissions

Submissions

comment 3y ago · link · parent

Mulling over it. I feel the underlying solver itself is something I've invested a fair bit of time and I'm not sure I want to open source it yet. I might marinate on it a bit and do it in the future.

comment 3y ago · link · parent

Thanks! It's a cool idea and giving a user the ability to specify the words, but let the algo choose their locations might be an easy extension to try out. The behavior you describe can then be met. I've added it to my personal backlog, cheers!

BTW, grid neatness isn't a limitation itself, the size and complexity (overlaps, large words) are. Also I already do symmetry checks, so helping users generate symmetric grids shouldn't be too hard.

comment 3y ago · link · parent

Yep, there are a few guidelines I've found on the web that would be good to cross-reference and these are good pointers, I'll look for ways to do so while trying to keep things relatively clean (I'm a backend guy so UX is always an adventure). A couple of pointers for construction I did come across are: - https://communicrossings.com/constructing-crosswords-grid - https://www.nytimes.com/article/submit-crossword-puzzles-the... (from NYT themselves).

> I’m guessing there are some rules about symmetry and no two-letter words that you can help users with.

Yes, and figuring out how to do the validation in a sensible way is probably my next step. I already have the encoding figured out, in fact if you examine the HTML you can see the grids as b64 binary strings, so the next step is the UX.

> Auto filling on an empty grid basically does all the work except clue writing

Sort of, having looked at a few other places that do this type of thing seriously there are other things about construction I'm not doing yet, like avoiding "CAT" and "CATS" or other substrings in general, and scoring words. I support the latter, but not on my poor E2 GCE instance (need more RAM). Clues aren't a problem I'm ready to solve yet, so I just cross-ref a nice site that has some of the historical ideas.

> I noticed the page hang when submitting that.

Yep, getting hugged to death :)

comment 3y ago · link · parent

Haha, yep, indeed. I did try to bake in some throttling behavior up front, but just had to crank it up a bit now, will see how that holds. Oh yeah, and for the curious, I am running on E2 freebie in GCE, so my "scaling" limits are pretty pathetic.

Thanks for the traffic, I mean, the love, y'all!

comment 3y ago · link · parent

Heya, here's a crossword builder I am working on as a hobby project. Backend is pure Go, frontend is in Typescript. I have a personal backlog of features to add (like allowing users to create custom grids), and I'm glad to take any feedback on what I've got so far.

TL;DR: pick a grid, add some words, auto-fill, add some clues. Submit to NYT and make $$$ (good luck with that step though).

36.

Crossword Builder(dawnofthe.dad ↗)

24 points · by userundefined · 3y ago · 16 comments

12