[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lojban] Re: mumym problem



On Tue, 17 Jun 2003 20:06:14 -0400
"Craig" <ragnarok@pobox.com> wrote:

> Problems that have arisen recently:
> 1. Gismu it chooses can have repeated letters. I got sputu, for
> instance. 2. Gismu you guess can be nonwords. It doesn't care.
> 3. If it tries to start a zero-player game, it quits.

Regarding 2, it does care:

self.gismu_validator    =
re.compile("^[bcdfgjklmnprstvxz]([bcdfgjklmnprstvxz][aeiou][bcdfgjklmnp
rstvxz]|[aeiou][bcdfgjklmnprstvxz][bcdfgjklmnprstvxz])[aeiou]$")

All guesses are checked against that regexp. So you *can* guess fake
words, but they must be valid gismu. However, it will never choose a
gismu that is not in the gi'uste (as distributed in the lojban-common
debian package).

The other two will be fixed tonight. I also plan on adding a scoreboard
feature.

-- 
mu'o mi'e la'o gy. Theodore Reed gy. .e la bancus.
to zoi gy. http://surreality.us/lojban/ gy.
mi zmanei lo notci poi mifra fi la pygypys.

Attachment: pgp00501.pgp
Description: PGP signature