summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* randomize the order of the numbers returned by @24doy2009-01-251-1/+3
|
* commentdoy2009-01-251-0/+2
|
* handle initialization better - make sure init is called before taking any ↵doy2009-01-251-2/+13
| | | | turns, but don't call it if we're just doing a command (to make "!24 -help" work properly)
* don't force loading of all game plugins whenever one is calleddoy2009-01-241-2/+3
|
* split can leave empty leading/trailing fields, get rid of themdoy2009-01-241-1/+1
|
* factor out determining whether an action is a valid commanddoy2009-01-241-6/+12
|
* rebless the method metaclass if possible in 'command' alsodoy2009-01-241-14/+13
|
* i really want to be reblessing, not completely recreating the method metaclassdoy2009-01-241-4/+7
|
* first shot at fixing method modifiersdoy2009-01-242-0/+22
|
* don't always format, that catches unintentional undef returnsdoy2009-01-241-6/+2
|
* apparently B::BB won't send '0' as a return value from said, so return ↵doy2009-01-241-1/+1
| | | | 'false' instead
* stop using fixed method metaclasses, just generate anonymous ones when ↵doy2009-01-244-28/+21
| | | | needed - this allows for replacing the metaclass of an already created method
* make turn use augment/inner so that the after modifier in the base class worksdoy2009-01-233-4/+4
|
* this doesn't do anythingdoy2009-01-231-6/+0
|
* make the attribute stuff into a metarole, rather than just overriding the ↵doy2009-01-163-29/+11
| | | | metaclass
* need to mark the accessors to not pass argsdoy2009-01-161-0/+7
|
* this *should* be the correct way to do this, but it still dies - and on the ↵doy2009-01-161-2/+8
| | | | call to blessed() no less. why?
* new syntax for declaring extra commands (typically generated methods) - ↵doy2009-01-163-2/+3
| | | | still needs to be implemented
* have to use inline_constructor => 0 in Bot::Games too, since it inherits the ↵doy2009-01-161-1/+1
| | | | Bot::BasicBot constructor
* initialization method is now just 'init'doy2009-01-161-2/+2
|
* okay, i think i finally have the meta-stuff done properly... we'll see!doy2009-01-166-38/+30
|
* make Command into a default method metaclass role, and turn the check for ↵doy2009-01-154-5/+19
| | | | whether or not a method is a command into an attribute on the method metaclass
* we can make attribute metaclasses immutable, just not the constructorsdoy2009-01-151-0/+1
|
* hmmm, i think apply_all_roles needs the metaclass of the class it's applying todoy2009-01-152-3/+3
|
* there is no more Bot::Games::Meta::Method::Commanddoy2009-01-151-1/+1
|
* can't make roles immutabledoy2009-01-151-1/+0
|
* syntax fixesdoy2009-01-158-17/+17
|
* apparently attribute metaclasses can't use make_immutable?doy2009-01-151-1/+0
|
* this doesn't need to be lazydoy2009-01-141-1/+0
|
* compilation errorsdoy2009-01-142-2/+1
|
* abstract the "don't pass args" logic out into the command roledoy2009-01-142-6/+7
|
* convert the plugins over to using the command syntaxdoy2009-01-147-40/+52
|
* add command and commands as options to 'has' for specifying generated ↵doy2009-01-142-14/+24
| | | | methods as commands, and fix the command function to apply the role rather than use the alternate subclass
* check for ->does the command role, rather than ->isa the command subclassdoy2009-01-141-6/+7
|
* make the command metaclass into a roledoy2009-01-142-7/+14
|
* a couple more make_immutablesdoy2009-01-142-0/+2
|
* use Bot::Games::OO rather than Moose directlydoy2009-01-147-16/+14
|
* update Bot::Games to use the new meta-stuff... completely untested, and ↵doy2009-01-141-10/+10
| | | | probably broken!
* add the beginnings of a meta-object structuredoy2009-01-144-0/+86
|
* ummm... what was this even doingdoy2009-01-141-10/+0
|
* override valid_word_from_state for spookdoy2008-12-201-0/+8
|
* stop processing input after running an _init methoddoy2008-12-201-3/+1
|
* make sure the numbers used in the proposed solution for 24 are the same as ↵doy2008-12-201-0/+5
| | | | the ones given in the problem
* make_immutable, no Moosedoy2008-12-208-0/+25
|
* don't call _init if it doesn't existdoy2008-12-201-2/+3
|
* simplify the run script a bitdoy2008-12-181-3/+2
|
* restrict dumb values for 24 in both placesdoy2008-12-181-1/+1
|
* don't pass undef into _formatdoy2008-12-181-1/+2
|
* explicitly return undef heredoy2008-12-181-0/+1
|
* format -> _formatdoy2008-12-181-1/+1
|