diff options
author | Julien Dessaux | 2015-01-01 21:24:40 +0100 |
---|---|---|
committer | Julien Dessaux | 2015-01-01 21:24:40 +0100 |
commit | 9c0926caceaf5c06d8d0251b176af8367c5cf62d (patch) | |
tree | 2c82b9ba15f8dcf5f9221d290ab36cf1bb588f0d | |
parent | Implemented the good_wins endgame and the ASSASSINGUESS game phase (diff) | |
download | avalon-arthur-9c0926caceaf5c06d8d0251b176af8367c5cf62d.tar.gz avalon-arthur-9c0926caceaf5c06d8d0251b176af8367c5cf62d.tar.bz2 avalon-arthur-9c0926caceaf5c06d8d0251b176af8367c5cf62d.zip |
Protocol update
Diffstat (limited to '')
-rw-r--r-- | Avalon.pm | 3 | ||||
-rw-r--r-- | README.markdown | 4 |
2 files changed, 2 insertions, 5 deletions
@@ -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 ======== |