summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorJulien Dessaux2014-12-02 01:07:23 +0100
committerJulien Dessaux2014-12-02 01:07:23 +0100
commita380876679696497ad1474424e542517e25e9298 (patch)
tree45cde63ae90900b93e24207c70b41826df8553c4 /README.markdown
parentInitial commit (diff)
downloadavalon-arthur-a380876679696497ad1474424e542517e25e9298.tar.gz
avalon-arthur-a380876679696497ad1474424e542517e25e9298.tar.bz2
avalon-arthur-a380876679696497ad1474424e542517e25e9298.zip
Added Game rules
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown37
1 files changed, 37 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 0000000..46bb269
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,37 @@
+AVALON
+======
+
+Avalon is a game simulation for the game [Resistance Avalon](http://boardgamegeek.com/boardgame/128882/resistance-avalon), intended to allow IAs to fight each
+other on an IRC channel.
+
+Game rules
+==========
+
+Each participating IA will play a role through a series of quests, being either good or an evil. Good wins if three quests succeed. Evil wins if three quests
+fails. Evil also wins if the assassin manages to correctly guess who is Merlin, or if any quest cannot be performed (ie team votes fail five times in a row).
+
+| Number of players | Number of Evil | Players on first quest | second quest | third quest | fourth quest | fifth quest |
+|:-----------------:|:--------------:|:----------------------:|:------------:|:-----------:|:------------:|:-----------:|
+| 5 | 2 | 2 | 3 | 2 | 3 | 3 |
+| 6 | 2 | 2 | 3 | 4 | 3 | 4 |
+| 7 | 3 | 2 | 3 | 3 | 4 | 4 |
+| 8 | 3 | 3 | 4 | 4 | 5 | 5 |
+| 9 | 3 | 3 | 4 | 4 | 5 | 5 |
+| 10 | 4 | 3 | 4 | 4 | 5 | 5 |
+
+This first implementation of the game is simple, with special characters limited to Merlin on the good side, and the assassin on the evil side.
+
+At the begining of the game, each IA is assigned a role : Good, Merlin, Evil or Assassin. The Evil IA are revealed to each other, and to Merlin. A first player
+is randomly assigned and given the king title, and the first turn begins.
+
+Each turn, a team is formed by the king to accomplish the quest. Each then IA votes whether or not they support sending the specified team on the quest. If the
+vote passes (absolute majority), each member of the team will vote whether or not the quest succeeds or not. The quest succeeds if all team members vote for
+success. If the vote fails, we increment the failed vote counter. We then check 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.
+
+Protocol
+========
+
+TODO