Live data from Hacker News

Use Letterpest to win at Letterpress

letterpest.com

11–20 of 27 posts

Re: Use Letterpest to win at Letterpress

#11
post #8
post #4

Isn't a trie structure the data structure you'd always go for with a dictionary-based project? EDIT: Title just changed and doesn't mention it (as a feature) anymore.

I think I'd have used a bloom filter for something like Letterpress.

Interesting, never knew too much about Bloom filters. Let me flip the question, then: is there any reason you wouldn't use a Bloom filter over tries for a dictionary?

Re: Use Letterpest to win at Letterpress

#13
post #11
post #8

Earlier quoted context omitted.

I think I'd have used a bloom filter for something like Letterpress.

Interesting, never knew too much about Bloom filters. Let me flip the question, then: is there any reason you wouldn't use a Bloom filter over tries for a dictionary?

A Bloom filter is subject to false positives. A trie isn't.

Re: Use Letterpest to win at Letterpress

#14
post #11
post #8

Earlier quoted context omitted.

I think I'd have used a bloom filter for something like Letterpress.

Interesting, never knew too much about Bloom filters. Let me flip the question, then: is there any reason you wouldn't use a Bloom filter over tries for a dictionary?

A Bloom filter is subject to false positives. A trie isn't.

Re: Use Letterpest to win at Letterpress

#15
post #8
post #4

Isn't a trie structure the data structure you'd always go for with a dictionary-based project? EDIT: Title just changed and doesn't mention it (as a feature) anymore.

I think I'd have used a bloom filter for something like Letterpress.

I'm not seeing how a bloom filter would help you here. The only application of a bloom filter that I can see is checking whether or not the word candidate you generated is in a dictionary. All n-choose-k sets is enormous and you'd spend a very long time just generating the candidates.

A prefix trie, as the GP mentioned, seems like a very good and obvious approach. You avoid most of the work generating non-words because all paths lead to complete words unless you run out of letters and you're not on a terminal.

What do you gain from the bloom filter?

Re: Use Letterpest to win at Letterpress

#16
This is why LetterPress needs a Lighting Press mode, where games have to be completed in five minutes, for instance. The ability to outright cheat, or troll around dictionaries and the Internet for words is not possible if you need to complete a move in 20 seconds.

Re: Use Letterpest to win at Letterpress

#17

This is why LetterPress needs a Lighting Press mode, where games have to be completed in five minutes, for instance. The ability to outright cheat, or troll around dictionaries and the Internet for words is not possible if you need to complete a move in 20 seconds.

A timer alone wouldn't help much. One could still take a screenshot of the game board during the first turn, upload it here, then have a list of good words to use for the rest of the game.

Re: Use Letterpest to win at Letterpress

#20
post #17

This is why LetterPress needs a Lighting Press mode, where games have to be completed in five minutes, for instance. The ability to outright cheat, or troll around dictionaries and the Internet for words is not possible if you need to complete a move in 20 seconds.

A timer alone wouldn't help much. One could still take a screenshot of the game board during the first turn, upload it here, then have a list of good words to use for the rest of the game.

Would there be a way for these lightning rounds to disqualify someone if they put the app into a background process? You would have to be locked into the app in the foreground for the entire match.
Post reply on HN