[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [haggis] Problem with long card names
On Fri, Jun 18, 2004 at 04:17:07PM -0400, Reed, Jim wrote:
> (Summary of a discussion in game 88. I'm sending it here so it won't get
> lost.)
>
> In game 88, I'm unable to offer some trades I'd like to make because the
> card names are long and some email handler between me and the server is
> wrapping my subject line at 80 characters. That truncates a card name and I
> get an error for trying to trade a card that doesn't exist.
>
> Someone suggested the following:
>
> > lyingman writes:
> > It would be good if the server parsed the minimum distinguished
> > substring in offers:
> >
> > m = mozzarella
> >
> > ch = cheddar
> >
> > co = colby
> >
> > etc.
>
> Someone else recommended that each card type in a game begin with a
> different letter to make this even easier.
Away for a nice weekend. Very little so far in the way of code changes, but I did spend a bunch of time with the "Perl Cookbook". Most of it was spent saying "Wow. Yes, I can do that, too."
This above suggestion is one of the things on that list.
Short term, for game 89, I'm thinking of reducing the range of possible basic card values from (-1 to (#carddefs+3)) to (-1 to (#carddefs+1)) and putting zero back in as a possible value. Also, I'm
going to shut off "lowball" for the short term.
We've got the usual seven in our "gang of idiots" for #89. Adding another player will add two more rules. Adding three more players will add 5 more rules. Shall we go recruiting?