From 9c0926caceaf5c06d8d0251b176af8367c5cf62d Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 1 Jan 2015 21:24:40 +0100 Subject: Protocol update --- Avalon.pm | 3 +-- README.markdown | 4 +--- 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 ======== -- cgit v1.2.3