Skip Menu |

This queue is for tickets about the Games-Literati CPAN distribution.

Report information
The Basics
Id: 112379
Status: resolved
Priority: 0/
Queue: Games-Literati

People
Owner: petercj [...] cpan.org
Requestors: petercj [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: 0.031



Subject: FEATURE REQUEST: separate out the board-input function from the rest of the search() subroutine
This would make it easier to extend functinality (for example, in a web-based sub-package that I'm considering) BACKWARD COMPATIBLE SOLUTION: * split between the chomp() three lines under TILES: label + the first section becomes input(), and returns its $input string + the second section becomes the new search() subroutine, and starts out (after variable initialization) as $input = input() I have a version with this feature, bundled with some of the other features I'm requesting in separate issues. I am working on getting them to a public repository for review, but I wanted to get these requests in the system first, and do a bit more testing on the bugfix. HISTORY & DISCLAIMER: I've played various online scrabble-like games for a long time, including Literati and now Words with Friends. Back in about 2005, I wrote my own simple tile-player in perl; sometime between then and 2009, I found Games::Literati (which was much better than my script), and have been using a tweaked version as my "greedy opponent" player ever since (living with the effects of bug#29539 as a way to make it slightly less greedy). However, I finally decided I needed a greedier opponent, so started looking into the scoring bug, along with cleaning up my added features. If owner is amenable, I would be willing to co-maintain this module, and add all these features/fixes myself. If owner is unreachable in a month or two, I will probably request to adopt Games::Literati as having been abandoned.
Updated source code v0.03 available in <https://github.com/pryrt/Games-Literati>, includes separated functions.
Improved with v0.031 release. However, there are still other places where separation of functions might make it more general. I'll claim "Fixed in 0.031", but still "open"