3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-17 01:19:31 +01:00
pbot/lib/PBot
Pragmatic Software 22771fabf6
Plugin/Spinach: massive refactor
Refactored ridiculous large per-round/per-question state transitions and
subroutines into a much more manageable and simpler state machine.

Now can easily and trivially adjust maximum rounds and maximum questions
by editing $self->{game} hashtable entries. TODO: make this configurable
via `spinach set`.

Replaced "/msg me" with "/msg $botnick" throughout.

Adjusted lie validation:

  * If all words of lie are found within solution and word-count of lie is
    less than word-count of solution, then game will say "So-and-so has found
    part of the truth!"

  * If lie is 20%-or-less different to the solution, then game will say
    "So-and-so has misspelled the truth!"
2024-11-08 23:29:52 -08:00
..
Core Interpreter: remove debug message 2024-11-07 19:47:02 -08:00
Plugin Plugin/Spinach: massive refactor 2024-11-08 23:29:52 -08:00
Core.pm Multiple bugfixes 2024-04-07 20:55:04 -07:00
Imports.pm Imports: disable deprecation warnings 2024-03-15 02:48:17 -07:00
VERSION.pm Plugin/Spinach: massive refactor 2024-11-08 23:29:52 -08:00