mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-17 01:19:31 +01:00
22771fabf6
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!" |
||
---|---|---|
.. | ||
Core | ||
Plugin | ||
Core.pm | ||
Imports.pm | ||
VERSION.pm |