diff options
author | doy <doy@tozt.net> | 2009-04-26 02:28:13 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-26 02:28:13 -0500 |
commit | a80d5722742519fef9c43172369d081ac0210953 (patch) | |
tree | b7517c122e89dbea94b9e2384059a4673cb4d2ce | |
parent | ae7cd18ed214e0241baf7fc7934725864100ffee (diff) | |
download | bot-games-a80d5722742519fef9c43172369d081ac0210953.tar.gz bot-games-a80d5722742519fef9c43172369d081ac0210953.zip |
get rid of give_up now that challenging should work
-rw-r--r-- | lib/Bot/Games/Game/Ghost.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Bot/Games/Game/Ghost.pm b/lib/Bot/Games/Game/Ghost.pm index c59b7cd..b468010 100644 --- a/lib/Bot/Games/Game/Ghost.pm +++ b/lib/Bot/Games/Game/Ghost.pm @@ -141,12 +141,6 @@ command valid_word_from_state => sub { return uc($word_prefix) eq $self->state; }; -command give_up => sub { - my $self = shift; - $self->is_over(1); - return "Game over!"; -}; - sub current_player_index { my $self = shift; for (0..($self->num_players - 1)) { |