summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-26 02:28:13 -0500
committerdoy <doy@tozt.net>2009-04-26 02:28:13 -0500
commita80d5722742519fef9c43172369d081ac0210953 (patch)
treeb7517c122e89dbea94b9e2384059a4673cb4d2ce
parentae7cd18ed214e0241baf7fc7934725864100ffee (diff)
downloadbot-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.pm6
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)) {