bazz1tv / ayumi

My lovely IRC bot :sparkles: :turtle: :mailbox: :sparkles:
0 stars 1 forks source link

[wordgames] Specify multiple ref dicts, and multiple "gameplay dicts" #89

Open bazz1tv opened 8 years ago

bazz1tv commented 8 years ago

If it hasn't been stated already. The nice thing about having a ref dict is that valid guesses (especially complex ones) can still be understood by the game, and act on the word limits accordingly, but only "custom words" or "simple words" for example are the ones you have in "gameplay dicts" ... You usually want an "all-encompassing" or "advanced" ref-dict .. the gameplay dicts can be anything you want, really.

Right now, Ayumi is hard coded to use a specific ref dict .. and only 1 gameplay dict (which is configurable at least)..

I want multiple ref dicts to be both configurable in

same for multiple gameplay dicts

Obviously, only 1 could be specified if desired. This is just add capability...

The syntax for specifying ref dicts needs to be flexible and "multiple-allowing" .. I think the easiest way would be "GUI" in a web browser. but that's far from now .. so let's talk IRC commands.

@w dict ref set [libs, separated by spaces]
@w dict ref unset [libs]
@w dict game set [libs]
@w dict game unset [libs]

That's a rough idea .. Better terms might exist.

Now, there needs to be a printout of dicts that also reveals the active "ref" dicts and active "game" dicts. Printout should also able to be filtered (just game dicts / just ref dicts).

full printout

@w dict with no arguments will cause this to happen.

active game dicts => bold active ref dicts => underlined or italic (please choose only 1 for all!) unchosen dicts => regular txt

Other print-outs

@w dict --game @w dict --ref

These are self explanatory.

Args CAN be combined @w dict --game --ref will print out game and ref dicts.

I can't think of anything else for this feature ATM.