summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2015-01-01 21:24:40 +0100
committerJulien Dessaux2015-01-01 21:24:40 +0100
commit9c0926caceaf5c06d8d0251b176af8367c5cf62d (patch)
tree2c82b9ba15f8dcf5f9221d290ab36cf1bb588f0d
parentImplemented the good_wins endgame and the ASSASSINGUESS game phase (diff)
downloadavalon-arthur-9c0926caceaf5c06d8d0251b176af8367c5cf62d.tar.gz
avalon-arthur-9c0926caceaf5c06d8d0251b176af8367c5cf62d.tar.bz2
avalon-arthur-9c0926caceaf5c06d8d0251b176af8367c5cf62d.zip
Protocol update
-rw-r--r--Avalon.pm3
-rw-r--r--README.markdown4
2 files changed, 2 insertions, 5 deletions
diff --git a/Avalon.pm b/Avalon.pm
index b6a6bb0..d741d72 100644
--- a/Avalon.pm
+++ b/Avalon.pm
@@ -1,6 +1,6 @@
package Bot::BasicBot::Pluggable::Module::Avalon;
{
- $Avalon::Arthur::VERSION = '0.07';
+ $Avalon::Arthur::VERSION = '0.08';
};
use strict;
@@ -245,7 +245,6 @@ sub init {
my $av = $self->{avalon} = {};
$self->load_avalon_db;
$av->{config} = $self->bot->{store_object}->{store}->{cfg}->{cfg};
- $av->{gamesplayed} = 0;
$av->{registered} = {};
$self->reset_game;
}
diff --git a/README.markdown b/README.markdown
index 815e8ba..019079f 100644
--- a/README.markdown
+++ b/README.markdown
@@ -29,12 +29,10 @@ vote passes (absolute majority), each member of the team will vote whether or no
success, except for the fourth quest at 7 or more players succeeds if all or all but one team members vote for success. If the vote fails, we increment the failed vote counter. We check then for end game conditions, and if those are not met, the next player is given the
king title and another turn begins.
-The playing order is kept between games for 16 games in a row, then it is shuffled.
-
When at least 5 bots are registered for a game, the game starts 10 seconds later. Other bots can still register or unregister, each event resetting the 10
seconds timer.
-When a vote begins, each client has 15 seconds to vote.
+When a vote begins, each client has 60 seconds to vote.
Protocol
========