News for hackers. Stuff that matters.
Re:Linotype: Letterpress game engine for Ruby by leberwurstsaft on Friday November 02, 2012 @09:37AM (#4732527)
It's case sensitive and has related problems in finding words. Entering all lowercase letters recommended.

While I'm sure it was a fun exercise to build it and there will most likely even be "helper apps" appearing on the App Store soon, I frown upon these. Letterpress will lose a lot of its fun once cheating takes over.

Re:Linotype: Letterpress game engine for Ruby by rimantas on Friday November 02, 2012 @10:00AM (#4732607)
I was thinking that an app where you could take a picture of letterpress screen and it would use that and with some strategy (in terms of defending letters) would be fun project to make. Maybe more than playing the game :)
Re:Linotype: Letterpress game engine for Ruby by flixic on Friday November 02, 2012 @02:47PM (#4734140)
I have done that with Spelltower (: https://github.com/flixic/spelltower
Re:Linotype: Letterpress game engine for Ruby by greenmountin on Friday November 02, 2012 @10:27AM (#4732726)
From my experience cheating, it would help to restrict words to 7 letters. Then the blocking rules would be more strategic, and at least the AI would be more fun to make.
Re:Linotype: Letterpress game engine for Ruby by flixic on Friday November 02, 2012 @02:49PM (#4734148)
Yes, but it would still be fairly easy. My AI is already not trying to use the longest word, but instead tries to secure as many tiles as possible. In many cases it means using shorter words that have just the right letters.
Re:Linotype: Letterpress game engine for Ruby by Hovertruck on Friday November 02, 2012 @10:12AM (#4732663)
I think the solution is just to only play with friends who you know aren't cheating.
Re:Linotype: Letterpress game engine for Ruby by mstepniowski on Friday November 02, 2012 @10:01AM (#4732619)
Implementing a Letterpress cheater in Python took me around 10 minutes. Computers are very fast nowadays: https://gist.github.com/3968275

There is no need for a whole game engine if you want nothing more than to know the best possible word to play each turn. It will be enough to win with 99% of people. If you want to win a Letterpress AI tournament, you would of course need to look at alpha-beta and other algorithms.

Re:Linotype: Letterpress game engine for Ruby by laacz on Friday November 02, 2012 @09:19AM (#4732469)
I made my own primitive helper. http://inarticulate.eu/letterpress
Re:Linotype: Letterpress game engine for Ruby by flixic on Friday November 02, 2012 @09:03AM (#4732412)
Neat. I'm working on JS-based word suggestion (=cheater) for Letterpress, and there were a few bits from here that I might borrow.
Re:Linotype: Letterpress game engine for Ruby by damncabbage on Friday November 02, 2012 @06:34PM (#4735109)
I'd love to hack on this to extend it; do you plan on writing any tests for it?