News for hackers. Stuff that matters.
Re:Thank HN: The puzzle game I posted here 6 weeks ago got l... by bigstrat2003 on Tuesday April 08, 2025 @12:55PM (#43623881)
I would add that the answer detection logic should probably get beefed up a bit as well. When I solved today's puzzle, it counted "race car" as a wrong answer when it expected "racecar". It should accept both forms of a compound word (also "racecar" isn't a word but that's more minor).
Re:Thank HN: The puzzle game I posted here 6 weeks ago got l... by computerfriend on Tuesday April 08, 2025 @02:48PM (#43625229)
But "race car" with a space isn't a palindrome.
Re:Thank HN: The puzzle game I posted here 6 weeks ago got l... by chaboud on Tuesday April 08, 2025 @03:08PM (#43625422)
There's an ambiguity here between palindromic words and palindromic sentences (where punctuation and spacing are non-breaking):

"Go hang a salami, I'm a lasagna hog"

or

"A man, a plan, a canal, Panama"

though it seems that all of the answers (in the one tutorial and one round that I played) are single words, often slid in as character insertions. Just go light on the spacebar, apparently.

Re:Thank HN: The puzzle game I posted here 6 weeks ago got l... by waltbosz on Wednesday April 09, 2025 @03:45AM (#43629797)
You wouldn't happen to be a fan of Jon Agee ?
Re:Thank HN: The puzzle game I posted here 6 weeks ago got l... by jayknight on Tuesday April 08, 2025 @03:46PM (#43625741)
It seems that every answer is a single word. I don't think it says that anywhere, but the few I've done seem to be that way.
Re:Thank HN: The puzzle game I posted here 6 weeks ago got l... by secabeen on Tuesday April 08, 2025 @05:12PM (#43626524)
There is no space bar on the on-screen keyboard on mobile, so it's not possible to type multiple words as well.
Re:Thank HN: The puzzle game I posted here 6 weeks ago got l... by schoen on Tuesday April 08, 2025 @03:08PM (#43625417)
It wouldn't be accepted by a palindrome-detecting function but it would generally be accepted by puzzle-solving conventions (e.g. for crosswords), which normally ignore spaces.