summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* temporary fix to allow canceling ghostlike gamesdoy2009-04-241-0/+6
|
* provide an overridable allow_new_player method which determines whether ↵doy2009-01-261-0/+11
| | | | adding players is allowed, and make add_player return whether or not the player was added
* actually, this isn't really necessarydoy2009-01-261-1/+1
|
* let _format handle array formatting in -cmdlistdoy2009-01-261-1/+1
|
* game_list should just return the array, let said() do the formattingdoy2009-01-261-3/+3
|
* force game name to lowercasedoy2009-01-261-1/+1
|
* oops, need lazydoy2009-01-261-0/+1
|
* allow abbreviations and aliases for game namesdoy2009-01-261-1/+23
|
* use :: rather than - for prereqsdoy2009-01-251-8/+8
|
* need an abstractdoy2009-01-251-4/+5
|
* add dist.inidoy2009-01-251-0/+17
|
* sort the lists of games and commandsdoy2009-01-252-3/+3
|
* add @foo -cmdlist to list available commands for a gamedoy2009-01-251-0/+11
|
* add @help foo as an alias for @foo -helpdoy2009-01-251-0/+5
|
* add @games to list available gamesdoy2009-01-251-0/+7
|
* make bin/run automatically look in lib/doy2009-01-251-0/+1
|
* use Math::Expression::Evaluator rather than feeding expressions through ↵doy2009-01-251-4/+4
| | | | perl's eval
* oops, need to pass $self for the actual object, even when pass_args is falsedoy2009-01-251-1/+1
|
* stop using the stupid way to catch fractions (it would loop forever on prime ↵doy2009-01-251-4/+1
| | | | numbers)
* stop using is_over to store the game end messagedoy2009-01-253-9/+9
|
* add a warning to catch setting needs_init on attributes that aren't commandsdoy2009-01-251-0/+7
|
* oops, attributes should default to needing initdoy2009-01-251-1/+1
|
* need to call BUILDALL on $self, not $classdoy2009-01-251-1/+7
|
* need to catch the proper arguments to be passing back to $self->say each timedoy2009-01-251-2/+4
|
* also reset done_init after games enddoy2009-01-251-2/+4
|
* make moose actually call BUILDdoy2009-01-251-1/+2
|
* defer make_immutable on Bot::Games::Game until after we have added the say ↵doy2009-01-252-17/+4
| | | | method
* set up $say in BUILD, and only install it as a method into Bot::Games::Game, ↵doy2009-01-251-5/+12
| | | | rather than into each game individually
* return after errordoy2009-01-251-0/+1
|
* don't use is_over for holding the ending message, just return it or use ↵doy2009-01-251-4/+2
| | | | $self->say
* reorganizingdoy2009-01-251-24/+24
|
* whitespacedoy2009-01-251-1/+1
|
* don't warn here, since we'll be calling _add_method on every new instance of ↵doy2009-01-251-4/+1
| | | | the game
* can't just add methods directly to plugins, since they will probably already ↵doy2009-01-251-1/+19
| | | | be immutable - handle this
* better handling of expressions that evaluate to 0 or divide by zero in 24doy2009-01-251-1/+1
|
* don't automatically call the init method if a needs_init command is called - ↵doy2009-01-251-3/+3
| | | | just print a warning and ignore it
* @foo -help doesn't require the game to have started yetdoy2009-01-251-0/+1
|
* allow marking commands as requiring an init call before being called - ↵doy2009-01-253-0/+17
| | | | default everything to this
* allow setting method metaclass attributes with the command installer ↵doy2009-01-251-1/+4
| | | | (command foo => sub { ... }, pass_args => 0;)
* clean up the command installer a bitdoy2009-01-251-4/+4
|
* format the message body in the extended say syntax toodoy2009-01-251-1/+4
|
* allow passing more information to say (to allow plugins to send private ↵doy2009-01-251-1/+5
| | | | messages, for instance)
* install $self->say into plugins as they are loadeddoy2009-01-251-0/+1
|
* allow $say to be called as a method (while still using B::BB's $self) to ↵doy2009-01-251-6/+6
| | | | allow installing it in plugins and using it from there as $self->say
* since i'm calling ->execute explicitly now, can move the pass_args stuff out ↵doy2009-01-252-7/+8
| | | | to the command role
* don't output the return value of $game->turn if it returns ''doy2009-01-251-1/+5
|
* allow games to return '' from their turn method without the base class whiningdoy2009-01-252-2/+6
|
* make sure $action is defined before matching against itdoy2009-01-251-1/+2
|
* use $self->say for all messages, don't use the return value of saiddoy2009-01-251-11/+9
|
* commentdoy2009-01-251-0/+1
|