summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games
Commit message (Collapse)AuthorAgeFilesLines
...
* make 24 only generate 2 digit numbers at mostdoy2009-04-271-0/+1
|
* use Time::Duration rather than rolling my own codedoy2009-04-271-11/+2
|
* need to return an arrayref, since the output code still assumes single value ↵doy2009-04-261-1/+1
| | | | returns
* make cmdlist return the list of command names, and turn the display logic ↵doy2009-04-261-2/+6
| | | | into a formatter
* manually specify the formatted trait too, for the attribute we're setting ↵doy2009-04-261-1/+2
| | | | metaclass explicitly on
* return early in a few more placesdoy2009-04-261-0/+2
|
* _process_options is called before the attribute is actually instantiateddoy2009-04-261-2/+2
|
* apply default formatters to attributes based on the attribute's type ↵doy2009-04-261-0/+29
| | | | constraint, if none is set explicitly
* don't include a default formatter, since it will (probably) never be useddoy2009-04-261-12/+2
|
* formatter, not formatdoy2009-04-261-2/+2
|
* fix up the formatter attribute metaclass to be more like the command ↵doy2009-04-261-2/+20
| | | | attribute metaclass, so that it actually works, hopefully
* nitpickdoy2009-04-261-1/+1
|
* method_metaclass_roles only applies to methods that already exist when the ↵doy2009-04-261-4/+5
| | | | class is being generated (so stuff at BEGIN time, like sub foo {})... i want to be applying the formatted role during the command keyword
* use the format rolesdoy2009-04-261-15/+8
|
* add roles for formatting the results of methodsdoy2009-04-263-1/+54
|
* allow setting any method metaclass attribute with the command syntaxdoy2009-04-261-1/+1
|
* more renamespacingdoy2009-04-265-12/+12
|
* renamespace a bunch of thingsdoy2009-04-265-12/+15
|
* use a separate exporter package for gamesdoy2009-04-268-38/+56
|
* make the datetime objects format more nicelydoy2009-04-261-5/+26
|
* manually specify our attribute trait when we also specify a new metaclassdoy2009-04-261-0/+4
|
* modules don't need a #! linedoy2009-04-2610-10/+0
|
* move mx-attributehelpers into Bot::Games::OOdoy2009-04-262-2/+1
|
* make -challenge also attempt to add a new player if possibledoy2009-04-261-7/+16
|
* get rid of give_up now that challenging should workdoy2009-04-261-6/+0
|
* dumb syntaxdoy2009-04-261-2/+2
|
* rewrite challenging again, i think i might have it this timedoy2009-04-261-10/+19
|
* fix up a bunch of challenging issues in the ghost gamesdoy2009-04-253-3/+17
|
* don't allow players to be added if there is currently a challengerdoy2009-04-241-1/+1
|
* use the allow_new_player interface in ghostlikesdoy2009-04-241-12/+14
|
* get rid of the 'ghostlike' abstract base, and have other ghostlike games ↵doy2009-04-244-5/+13
| | | | just inherit from ghost directly
* remove ghostdoy2009-04-241-19/+0
|
* use MooseX::NonMoosedoy2009-04-241-1/+4
|
* 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
|
* sort the lists of games and commandsdoy2009-01-251-1/+1
|
* add @foo -cmdlist to list available commands for a gamedoy2009-01-251-0/+11
|
* 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
|
* defer make_immutable on Bot::Games::Game until after we have added the say ↵doy2009-01-251-1/+2
| | | | method
* better handling of expressions that evaluate to 0 or divide by zero in 24doy2009-01-251-1/+1
|
* @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-252-0/+13
| | | | default everything to this
* allow setting method metaclass attributes with the command installer ↵doy2009-01-251-1/+4
| | | | (command foo => sub { ... }, pass_args => 0;)